diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-05-12 16:24:31 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-05-12 16:24:31 +0000 |
commit | 718f8f7a9e981cf9a7f3aaa4ba9e013151384d06 (patch) | |
tree | 50b2a6a4e260276b25390cae6147b8645ff04d32 /apps | |
parent | e718520cc592a3373206e1e050491c9ba9631123 (diff) |
Fix from stable branch.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/req.c | 3 |
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) |