]> git.sur5r.net Git - openldap/commit
ITS#7389 - MozNSS: load certificates from certdb, fallback to PEM
authorJan Vcelak <jvcelak@redhat.com>
Fri, 14 Sep 2012 12:24:29 +0000 (14:24 +0200)
committerQuanah Gibson-Mount <quanah@ub16.quanah.org>
Fri, 6 Oct 2017 20:59:07 +0000 (13:59 -0700)
commitcbf5f034766c0b1c02e5d87f60c1e3626430cc71
tree331c7b329a40126cd0510c991612b81fc40b5ff0
parent46c93e41f43da7f16270179c6eff75e450617329
ITS#7389 - MozNSS: load certificates from certdb, fallback to PEM

If TLS_CACERT pointed to a PEM file and TLS_CACERTDIR was set to NSS
certificate database, the backend assumed that the certificate is always
located in the certificate database. This assumption might be wrong.

This patch makes the library to try to load the certificate from NSS
database and fallback to PEM file if unsuccessfull.
libraries/libldap/tls_m.c