aboutsummaryrefslogtreecommitdiffstats
path: root/demos/x509/mkreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/x509/mkreq.c')
-rw-r--r--demos/x509/mkreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/x509/mkreq.c b/demos/x509/mkreq.c
index 3dfc65f16435..d17e4ade9431 100644
--- a/demos/x509/mkreq.c
+++ b/demos/x509/mkreq.c
@@ -134,7 +134,7 @@ int mkreq(X509_REQ **req, EVP_PKEY **pkeyp, int bits, int serial, int days)
#endif
- if (!X509_REQ_sign(x,pk,EVP_md5()))
+ if (!X509_REQ_sign(x,pk,EVP_sha1()))
goto err;
*req=x;