summaryrefslogtreecommitdiffstats
path: root/apps/req.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2008-05-12 16:24:31 +0000
committerDr. Stephen Henson <steve@openssl.org>2008-05-12 16:24:31 +0000
commit718f8f7a9e981cf9a7f3aaa4ba9e013151384d06 (patch)
tree50b2a6a4e260276b25390cae6147b8645ff04d32 /apps/req.c
parente718520cc592a3373206e1e050491c9ba9631123 (diff)
Fix from stable branch.
Diffstat (limited to 'apps/req.c')
-rw-r--r--apps/req.c3
1 files changed, 1 insertions, 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)