diff options
author | Bodo Möller <bodo@openssl.org> | 2001-02-06 09:47:47 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-02-06 09:47:47 +0000 |
commit | 69a03c1799cd068d99652173748db8f39c8b5440 (patch) | |
tree | 19c4d393812179538b97754e097ac3c492ad5326 /apps/req.c | |
parent | 4327aae816f6c147782b5a011c7f899558629c27 (diff) |
don't dump core
Diffstat (limited to 'apps/req.c')
-rw-r--r-- | apps/req.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/req.c b/apps/req.c index 292bc5910f..b518e47370 100644 --- a/apps/req.c +++ b/apps/req.c @@ -770,16 +770,15 @@ loop: if (newreq || x509) { -#ifndef NO_DSA - if (pkey->type == EVP_PKEY_DSA) - digest=EVP_dss1(); -#endif - if (pkey == NULL) { BIO_printf(bio_err,"you need to specify a private key\n"); goto end; } +#ifndef NO_DSA + if (pkey->type == EVP_PKEY_DSA) + digest=EVP_dss1(); +#endif if (req == NULL) { req=X509_REQ_new(); |