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:
e58e78c
)
Make genrsa work again.
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 26 Jul 2009 16:06:41 +0000
(16:06 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 26 Jul 2009 16:06:41 +0000
(16:06 +0000)
apps/genrsa.c
patch
|
blob
|
history
diff --git
a/apps/genrsa.c
b/apps/genrsa.c
index 09b0b1969001e6d64f67bf88562844b19c0d0c87..5759acbf9bbe078349a430d06803b13c9d54fb21 100644
(file)
--- a/
apps/genrsa.c
+++ b/
apps/genrsa.c
@@
-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;