Make genrsa work again.

This commit is contained in:
Dr. Stephen Henson 2009-07-26 16:06:41 +00:00
parent e58e78cab2
commit d36e9d160b

@ -269,6 +269,10 @@ bad:
BIO_printf(bio_err,"Generating RSA private key, %d bit long modulus\n",
num);
rsa = RSA_new();
if (!rsa)
goto err;
if (use_x931)
{
BIGNUM *pubexp;