From 718f8f7a9e981cf9a7f3aaa4ba9e013151384d06 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 12 May 2008 16:24:31 +0000 Subject: [PATCH] Fix from stable branch. --- apps/req.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -- 2.25.1