mirror of
https://github.com/apache/httpd.git
synced 2025-08-03 16:33:59 +00:00
* support/ab.c (ssl_proceed_handshake): Fix X509 * leak.
PR: 64264 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910847 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -858,6 +858,7 @@ static void ssl_proceed_handshake(struct connection *c)
|
|||||||
SSL_get_version(c->ssl),
|
SSL_get_version(c->ssl),
|
||||||
SSL_CIPHER_get_name(ci),
|
SSL_CIPHER_get_name(ci),
|
||||||
pk_bits, sk_bits);
|
pk_bits, sk_bits);
|
||||||
|
if (cert) X509_free(cert);
|
||||||
}
|
}
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x10002000L
|
#if OPENSSL_VERSION_NUMBER >= 0x10002000L
|
||||||
if (!worker->metrics.ssl_tmp_key[0] && !worker->metrics.ssl_tmp_key[1]) {
|
if (!worker->metrics.ssl_tmp_key[0] && !worker->metrics.ssl_tmp_key[1]) {
|
||||||
|
Reference in New Issue
Block a user