diff --git a/test/regress_openssl.c b/test/regress_openssl.c index 1bf0b50d..f74cae1c 100644 --- a/test/regress_openssl.c +++ b/test/regress_openssl.c @@ -103,7 +103,7 @@ ssl_getcert(EVP_PKEY *key) now += 3600; X509_time_adj(X509_getm_notAfter(x509), 0, &now); X509_set_pubkey(x509, key); - tt_assert(0 != X509_sign(x509, key, EVP_sha1())); + tt_assert(0 != X509_sign(x509, key, EVP_sha256())); return x509; end: