Fix a segfault in ab when run in verbose mode using https.

PR: 46393
Submitted by: Stefan Fritsch <sf sfritsch.de>, Ryan Niebur
Reviewed by: poirier


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@818204 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Earl Poirier
2009-09-23 18:57:07 +00:00
parent 7f25ae5bae
commit 27bb54d84e
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,9 @@ Changes with Apache 2.3.3
mod_proxy_ftp: NULL pointer dereference on error paths.
[Stefan Fritsch <sf fritsch.de>, Joe Orton]
*) ab: ab segfaults in verbose mode on https sites
PR46393. [Ryan Niebur]
*) mod_dav: Allow other modules to become providers and add resource types
to the DAV response. [Jari Urpalainen <jari.urpalainen nokia.com>,
Brian France <brian brianfrance.com>]

View File

@ -580,7 +580,6 @@ static void ssl_print_info(struct connection *c)
for (i=1; i<count; i++) {
cert = (X509 *)SK_VALUE(sk, i);
ssl_print_cert_info(bio_out, cert);
X509_free(cert);
}
}
cert = SSL_get_peer_certificate(c->ssl);