Resolves: bug 426439
Bug Description: Unable to load CRL file for a DS instance - when its
placed under /etc/dirsrv/slapd-INSTANCE
Reviewed by: ???
Files: see diff
Fix Description: The main problem was that it was not using the
getSecurityDir function to get the security dir based on the SIE passed
in. This function is called in main after getting the SIE. I changed
the code to set this value in a static variable that can be used
throughout the program.
In addition, I found and fixed some other bugs related to CRL handling:
1) The code did not work with ASCII CRLs generated by newer versions of
crlutil which use the BEGIN CRL header. I added processing for that
2) The code did not handle date/time in generalized time format. I
added code to format the date/time based on the type of date/time stored
in the CRL.
Platforms tested: RHEL5
Flag Day: no
Doc impact: no