projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
002d3fe
)
use supplied ENGINE in genrsa
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 1 Mar 2010 14:22:02 +0000
(14:22 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Mon, 1 Mar 2010 14:22:02 +0000
(14:22 +0000)
apps/genrsa.c
patch
|
blob
|
history
diff --git
a/apps/genrsa.c
b/apps/genrsa.c
index a9f40e8adfb3edf1e24eaa69f818adc1ebac1bdf..37e9310910b2968c0b148531c371d5e06993b9e1 100644
(file)
--- a/
apps/genrsa.c
+++ b/
apps/genrsa.c
@@
-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;