strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6725ef5
)
fixed memleak when receiving invalid certificate
author
Martin Willi
<martin@strongswan.org>
Thu, 14 Sep 2006 12:15:41 +0000
(12:15 -0000)
committer
Martin Willi
<martin@strongswan.org>
Thu, 14 Sep 2006 12:15:41 +0000
(12:15 -0000)
src/charon/sa/transactions/ike_auth.c
patch
|
blob
|
history
diff --git
a/src/charon/sa/transactions/ike_auth.c
b/src/charon/sa/transactions/ike_auth.c
index
c30dde2
..
e440f5e
100644
(file)
--- a/
src/charon/sa/transactions/ike_auth.c
+++ b/
src/charon/sa/transactions/ike_auth.c
@@
-475,6
+475,7
@@
static void import_certificate(private_ike_auth_t *this, cert_payload_t *cert_pa
}
else
{
+ cert->destroy(cert);
this->logger->log(this->logger, CONTROL,
"received end entity certificate is not trusted, discarded");
}