]> git.sur5r.net Git - openldap/commit
ITS#6980 free the result of SSL_PeerCertificate
authorRich Megginson <rmeggins@redhat.com>
Wed, 29 Jun 2011 16:47:10 +0000 (10:47 -0600)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 6 Sep 2011 19:59:25 +0000 (12:59 -0700)
commit4e817240093c4fbd69c8c97b69bb5c62368cad19
tree326546adaf1aaae75631f6d94cc1808493cf9dde
parent9d16e17341455280cd6c7e719d51c41c41150f35
ITS#6980 free the result of SSL_PeerCertificate

In tlsm_auth_cert_handler, we get the peer's cert from the socket using
SSL_PeerCertificate.  This value is allocated and/or cached.  We must
destroy it using CERT_DestroyCertificate.
libraries/libldap/tls_m.c