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/dgst.c | |
parent | 6ebe8dac3e6101c00b973ec8abc3cf405c9070d5 (diff) |
Use SHA256 not MD5 as default digest.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'apps/dgst.c')
-rw-r--r-- | apps/dgst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dgst.c b/apps/dgst.c index e62a8de413..fb09a45cd0 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -375,7 +375,7 @@ int dgst_main(int argc, char **argv) goto end; } if (md == NULL) - md = EVP_md5(); + md = EVP_sha256(); if (!EVP_DigestInit_ex(mctx, md, impl)) { BIO_printf(bio_err, "Error setting digest\n"); ERR_print_errors(bio_err); |