Always seed PRNG for new requests no matter what key type. RSA may need

the PRNG for blinding.

PR: 1666
This commit is contained in:
Dr. Stephen Henson
2008-05-12 16:07:00 +00:00
parent 6168067160
commit a25fb95bd6

View File

@@ -719,8 +719,7 @@ bad:
message */ message */
goto end; goto end;
} }
if (EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA || else
EVP_PKEY_type(pkey->type) == EVP_PKEY_EC)
{ {
char *randfile = NCONF_get_string(req_conf,SECTION,"RANDFILE"); char *randfile = NCONF_get_string(req_conf,SECTION,"RANDFILE");
if (randfile == NULL) if (randfile == NULL)