projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix error when server does not send CertificateStatus message
[openssl.git]
/
apps
/
dgst.c
diff --git
a/apps/dgst.c
b/apps/dgst.c
index 1e3a72ccb46314e12df66dc1e5ca0ebc58d3de42..fb09a45cd0464b1dfac6463d1cc3a3c6b3c4b6f6 100644
(file)
--- a/
apps/dgst.c
+++ b/
apps/dgst.c
@@
-236,9
+236,6
@@
int dgst_main(int argc, char **argv)
argc = opt_num_rest();
argv = opt_rest();
argc = opt_num_rest();
argv = opt_rest();
- if (!app_load_modules(NULL))
- goto end;
-
if (do_verify && !sigfile) {
BIO_printf(bio_err,
"No signature to verify: use the -signature option\n");
if (do_verify && !sigfile) {
BIO_printf(bio_err,
"No signature to verify: use the -signature option\n");
@@
-378,7
+375,7
@@
int dgst_main(int argc, char **argv)
goto end;
}
if (md == NULL)
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);
if (!EVP_DigestInit_ex(mctx, md, impl)) {
BIO_printf(bio_err, "Error setting digest\n");
ERR_print_errors(bio_err);