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

use supplied ENGINE in genrsa

parent ff2fdbf2
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -265,8 +265,11 @@ bad:

	BIO_printf(bio_err,"Generating RSA private key, %d bit long modulus\n",
		num);

#ifdef OPENSSL_NO_ENGINE
	rsa = RSA_new();
#else
	rsa = RSA_new_method(e);
#endif
	if (!rsa)
		goto err;