fixed memleak when receiving invalid certificate
This commit is contained in:
1 parent
6725ef5f23
commit
567e2a7822
1 file changed
+1
@@ -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");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user