Commit d36e9d16 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Make genrsa work again.

parent e58e78ca
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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;