]> 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@openldap.org>
Wed, 11 Oct 2017 19:45:48 +0000 (12:45 -0700)
commit0fbe92dcdfc37b79dfe910c39e7989d24b26d171
treeaa5caef52e2e28161d4b97cd1e18071681fd3f07
parenta8cf2fb10047794c83873f5ff5c125ecd0e53168
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