[openssl-commits] [openssl] master update
Dr. Stephen Henson
steve at openssl.org
Tue Apr 5 13:24:34 UTC 2016
The branch master has been updated
via 6e863f07376e1c8ae7c89477234db50838784d99 (commit)
from 453dfd8d5ee0893146e0fb61a5978ab59ba95c01 (commit)
- Log -----------------------------------------------------------------
commit 6e863f07376e1c8ae7c89477234db50838784d99
Author: Dr. Stephen Henson <steve at openssl.org>
Date: Tue Apr 5 14:06:28 2016 +0100
fix memory leak in ca
Reviewed-by: Rich Salz <rsalz at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
apps/ca.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/ca.c b/apps/ca.c
index cc74c5b..d2990a5 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -1788,7 +1788,7 @@ static int do_body(X509 **xret, EVP_PKEY *pkey, X509 *x509,
if (!X509_set_subject_name(ret, subject))
goto end;
- pktmp = X509_REQ_get_pubkey(req);
+ pktmp = X509_REQ_get0_pubkey(req);
i = X509_set_pubkey(ret, pktmp);
if (!i)
goto end;
More information about the openssl-commits
mailing list