]> 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)
committerHoward Chu <hyc@openldap.org>
Wed, 29 Jun 2011 23:56:26 +0000 (16:56 -0700)
commitd944920fd39f78d90995484e3721db5c350bd240
treebe89b791a3be9acaf64236669a34bc603896b494
parent7ee3dee647f198ec96c6100e66f9fcd9cd428006
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