For Bug Id 162748.

git-svn-id: svn://10.0.0.236/trunk@224220 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
biswatosh.chakraborty%sun.com 2007-04-05 15:09:25 +00:00
parent 168b759383
commit acbb6ee559

View File

@ -823,7 +823,10 @@ InitCrypto(char *cert_dir, PRBool readOnly)
if (password) {
PK11_SetPasswordFunc(pk11_password_hardcode);
} else {
PK11_SetPasswordFunc(SECU_GetModulePassword);
}
/* Must login to FIPS before you do anything else */
if (PK11_IsFIPS()) {