* 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:
Joe Orton
2023-07-07 11:02:38 +00:00
parent b24195a1f2
commit 0fc26087e9

View File

@ -858,6 +858,7 @@ static void ssl_proceed_handshake(struct connection *c)
SSL_get_version(c->ssl),
SSL_CIPHER_get_name(ci),
pk_bits, sk_bits);
if (cert) X509_free(cert);
}
#if OPENSSL_VERSION_NUMBER >= 0x10002000L
if (!worker->metrics.ssl_tmp_key[0] && !worker->metrics.ssl_tmp_key[1]) {