]> 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@ub16.quanah.org>
Fri, 6 Oct 2017 17:44:13 +0000 (10:44 -0700)
commit19fd969d216c96e34a76e4fc7b325e93a9d7ed03
treeaa87264cf47e3c42d5be1fb770e527dfc78842b8
parentacc5b8866192f899af2bb7012f5d423d5296cc03
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