summaryrefslogtreecommitdiffstats
path: root/apps/req.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-04-02 09:29:15 +0000
committerNils Larsch <nils@openssl.org>2005-04-02 09:29:15 +0000
commit12bdb643756d829569bb903e5b806613ff975ccb (patch)
tree8b3186d726311147bb078922ff64bece40dedd01 /apps/req.c
parent7bdf8eed69e190ce8f2869a8421aa710d6d07504 (diff)
use SHA-1 as the default digest for the apps/openssl commands
Diffstat (limited to 'apps/req.c')
-rw-r--r--apps/req.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/req.c b/apps/req.c
index d634268653..f43c477f75 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -187,7 +187,7 @@ int MAIN(int argc, char **argv)
char *p;
char *subj = NULL;
int multirdn = 0;
- const EVP_MD *md_alg=NULL,*digest=EVP_md5();
+ const EVP_MD *md_alg=NULL,*digest=EVP_sha1();
unsigned long chtype = MBSTRING_ASC;
#ifndef MONOLITH
char *to_free;