summaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2015-06-13 17:03:39 -0400
committerRich Salz <rsalz@openssl.org>2015-12-11 11:59:59 -0500
commitf8547f62c212837dbf44fb7e2755e5774a59a57b (patch)
treeddb5464c4a245625c57a1176a2aa2e7fe1b4f563 /apps/ca.c
parent6ebe8dac3e6101c00b973ec8abc3cf405c9070d5 (diff)
Use SHA256 not MD5 as default digest.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'apps/ca.c')
-rw-r--r--apps/ca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ca.c b/apps/ca.c
index f6ba23926b..535526ce30 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -1420,7 +1420,7 @@ static int certify_cert(X509 **xret, char *infile, EVP_PKEY *pkey, X509 *x509,
} else
BIO_printf(bio_err, "Signature ok\n");
- if ((rreq = X509_to_X509_REQ(req, NULL, EVP_md5())) == NULL)
+ if ((rreq = X509_to_X509_REQ(req, NULL, NULL)) == NULL)
goto end;
ok = do_body(xret, pkey, x509, dgst, sigopts, policy, db, serial, subj,