aboutsummaryrefslogtreecommitdiff
path: root/openssl/demos/x509/mkcert.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/demos/x509/mkcert.c')
-rw-r--r--openssl/demos/x509/mkcert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/demos/x509/mkcert.c b/openssl/demos/x509/mkcert.c
index c5e67b8e2..6a52e5d0f 100644
--- a/openssl/demos/x509/mkcert.c
+++ b/openssl/demos/x509/mkcert.c
@@ -136,7 +136,7 @@ int mkcert(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days)
}
#endif
- if (!X509_sign(x,pk,EVP_md5()))
+ if (!X509_sign(x,pk,EVP_sha1()))
goto err;
*x509p=x;