Make genrsa work again.
This commit is contained in:
parent
e58e78cab2
commit
d36e9d160b
@ -269,6 +269,10 @@ bad:
|
|||||||
BIO_printf(bio_err,"Generating RSA private key, %d bit long modulus\n",
|
BIO_printf(bio_err,"Generating RSA private key, %d bit long modulus\n",
|
||||||
num);
|
num);
|
||||||
|
|
||||||
|
rsa = RSA_new();
|
||||||
|
if (!rsa)
|
||||||
|
goto err;
|
||||||
|
|
||||||
if (use_x931)
|
if (use_x931)
|
||||||
{
|
{
|
||||||
BIGNUM *pubexp;
|
BIGNUM *pubexp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user