projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve recent option help string additions
[openssl.git]
/
apps
/
req.c
diff --git
a/apps/req.c
b/apps/req.c
index eddbc77839d68088a2c61ddc2b44a31d621069ae..d6d46a95ff8b65648f3e1d79f1ae19e21846ed54 100644
(file)
--- a/
apps/req.c
+++ b/
apps/req.c
@@
-1451,6
+1451,7
@@
static EVP_PKEY_CTX *set_keygen_ctx(const char *gstr,
if (EVP_PKEY_keygen_init(gctx) <= 0) {
BIO_puts(bio_err, "Error initializing keygen context\n");
ERR_print_errors(bio_err);
+ EVP_PKEY_CTX_free(gctx);
return NULL;
}
#ifndef OPENSSL_NO_RSA