From: Dr. Stephen Henson Date: Mon, 12 May 2008 16:24:31 +0000 (+0000) Subject: Fix from stable branch. X-Git-Tag: OpenSSL_0_9_8k^2~405 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=718f8f7a9e981cf9a7f3aaa4ba9e013151384d06;p=oweals%2Fopenssl.git Fix from stable branch. --- diff --git a/apps/req.c b/apps/req.c index cd59fe077e..7953f9ddc1 100644 --- a/apps/req.c +++ b/apps/req.c @@ -617,8 +617,7 @@ bad: message */ goto end; } - if (EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA || - EVP_PKEY_type(pkey->type) == EVP_PKEY_EC) + else { char *randfile = NCONF_get_string(req_conf,SECTION,"RANDFILE"); if (randfile == NULL)