diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-05-12 16:07:00 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-05-12 16:07:00 +0000 |
commit | a25fb95bd6a221087fb3cc263db410cb73f5b1d2 (patch) | |
tree | fbdf31ff751aab28c58bffe47416f1253ea8f70f /apps | |
parent | 61680671608930cb1d592072f67d686699a8c888 (diff) |
Always seed PRNG for new requests no matter what key type. RSA may need
the PRNG for blinding.
PR: 1666
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 f58e65ec85..5ed08960c1 100644 --- a/apps/req.c +++ b/apps/req.c @@ -719,8 +719,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) |