summaryrefslogtreecommitdiff
path: root/apps/x509.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/x509.c
parent7bdf8eed69e190ce8f2869a8421aa710d6d07504 (diff)
downloadopenssl-new-12bdb643756d829569bb903e5b806613ff975ccb.tar.gz
use SHA-1 as the default digest for the apps/openssl commands
Diffstat (limited to 'apps/x509.c')
-rw-r--r--apps/x509.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/x509.c b/apps/x509.c
index 1dad6363de..9dc99dfa0f 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -184,7 +184,7 @@ int MAIN(int argc, char **argv)
X509_REQ *rq=NULL;
int fingerprint=0;
char buf[256];
- const EVP_MD *md_alg,*digest=EVP_md5();
+ const EVP_MD *md_alg,*digest=EVP_sha1();
CONF *extconf = NULL;
char *extsect = NULL, *extfile = NULL, *passin = NULL, *passargin = NULL;
int need_rand = 0;