]> git.sur5r.net Git - openldap/commit
ITS#7374 - MozNSS: better file name matching for hashed CA certificate directory
authorJan Vcelak <jvcelak@redhat.com>
Wed, 29 Aug 2012 14:23:52 +0000 (16:23 +0200)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 11 Oct 2017 19:34:28 +0000 (12:34 -0700)
commit1292dc90e933184ffadb3213f0a342c916d9b81d
treeeda8aa0ae39e0d72f07e6f7f25cc1f9359753999
parent99421d328d1f8c60169c1b7f13130d4d55b825c1
ITS#7374 - MozNSS: better file name matching for hashed CA certificate directory

CA certificate files in OpenSSL compatible CACERTDIR were loaded if the
file extension was '.0'. However the file name should be 8 letters long
certificate hash of the certificate subject name, followed by a numeric
suffix which is used to differentiate between two certificates with the
same subject name.

Wit this patch, certificate file names are matched correctly (using
regular expressions).
libraries/libldap/tls_m.c