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 */
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)