diff options
author | Rich Salz <rsalz@akamai.com> | 2015-06-13 17:03:39 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-12-11 11:59:59 -0500 |
commit | f8547f62c212837dbf44fb7e2755e5774a59a57b (patch) | |
tree | ddb5464c4a245625c57a1176a2aa2e7fe1b4f563 /apps/ca.c | |
parent | 6ebe8dac3e6101c00b973ec8abc3cf405c9070d5 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |