From: Bodo Möller Date: Tue, 6 Feb 2001 09:47:47 +0000 (+0000) Subject: don't dump core X-Git-Tag: OpenSSL_0_9_6a-beta1~48^2~36 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=69a03c1799cd068d99652173748db8f39c8b5440;p=oweals%2Fopenssl.git don't dump core --- 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();