]> git.sur5r.net Git - openldap/commit
ITS#7001 MozNSS: free the return of tlsm_find_and_verify_cert_key
authorRich Megginson <rmeggins@redhat.com>
Tue, 26 Jul 2011 02:27:59 +0000 (20:27 -0600)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 5 Oct 2011 23:41:02 +0000 (16:41 -0700)
commit2864c9c31635a858effd91326a5ab4b07cb9405a
treefea91f5f3885e4ed1373c535f05233b999a37f19
parentb0f28f316a23dbda7b3aa65fedece532a0f58529
ITS#7001 MozNSS: free the return of tlsm_find_and_verify_cert_key

If tlsm_find_and_verify_cert_key finds the cert and/or key, and it fails
to verify them, it will leave them allocated for the caller to dispose of.
There were a couple of places that were not disposing of the cert and key
upon error.
libraries/libldap/tls_m.c