Merge remote-tracking branch 'cgutman/sha256_buster'

This commit is contained in:
Iwan Timmer 2019-07-06 16:55:41 +02:00
commit eb94742266

View File

@ -147,7 +147,7 @@ int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int years) {
add_ext(x, NID_subject_key_identifier, "hash");
if (!X509_sign(x, pk, EVP_sha1())) {
if (!X509_sign(x, pk, EVP_sha256())) {
goto err;
}