[Date Prev][Date Next]
(ITS#6689) Patch - Mozilla NSS - support cert database prefix
Full_Name: Rich Megginson
Version: 2.4.23 (current CVS HEAD)
Submission from: (NULL) (184.108.40.206)
Mozilla NSS supports having multiple cert/key databases in the same directory,
each one having a unique string prefix e.g.
slapd-01-cert8.db - the prefix here is "slapd-01-"
This patch allows the user to pass in the prefix as the last part of the
cacertdir. If the given cacertdir does not exist (neither a file nor a
directory), and contains the platform's path separator character (e.g. '/'),
look at the last occurance of the path separator in the string - if it exists
and there is something after that, assume that is the prefix.
This patch also cleans up some compiler warnings about unused variables and
signedness differences, and removes a very annoying debug message.
This patch file is derived from OpenLDAP Software. All of the
modifications to OpenLDAP Software represented in the following
patch(es) were developed by Red Hat. Red Hat has not assigned rights
and/or interest in this work to any party. I, Rich Megginson am
authorized by Red Hat, my employer, to release this work under the
Red Hat hereby place the following modifications to OpenLDAP Software
(and only these modifications) into the public domain. Hence, these
modifications may be freely used and/or redistributed for any purpose
with or without attribution and/or other notice.