projects
/
platform
/
upstream
/
openconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ed3525
)
Fix double-free of BIO in loading cert from keystore
author
David Woodhouse
<David.Woodhouse@intel.com>
Sun, 17 Jun 2012 20:58:02 +0000
(21:58 +0100)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Sun, 17 Jun 2012 20:58:02 +0000
(21:58 +0100)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
openssl.c
patch
|
blob
|
history
diff --git
a/openssl.c
b/openssl.c
index
0787d33
..
552efa9
100644
(file)
--- a/
openssl.c
+++ b/
openssl.c
@@
-712,7
+712,6
@@
static int load_certificate(struct openconnect_info *vpninfo)
vpn_progress(vpninfo, PRG_ERR,
_("Failed to load X509 certificate from keystore\n"));
openconnect_report_ssl_errors(vpninfo);
- BIO_free(b);
return -EINVAL;
}
if (!SSL_CTX_use_certificate(vpninfo->https_ctx, vpninfo->cert_x509)) {