summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrelyea%netscape.com <devnull@localhost>2001-09-27 00:13:38 +0000
committerrelyea%netscape.com <devnull@localhost>2001-09-27 00:13:38 +0000
commita7b695a4051c9d893c8983f1dbe2c40a0ee4950b (patch)
tree3b3b9296577961362c9a3c004c06f6b0c30dc9d0
parent3d28ab7c2bd138c76460b571fab494989103ba6a (diff)
downloadnss-hg-a7b695a4051c9d893c8983f1dbe2c40a0ee4950b.tar.gz
Initialize slots with their cert and key db handles associated with the slot itself.
-rw-r--r--security/nss/lib/softoken/fipstokn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/nss/lib/softoken/fipstokn.c b/security/nss/lib/softoken/fipstokn.c
index e72a9965a..935547e63 100644
--- a/security/nss/lib/softoken/fipstokn.c
+++ b/security/nss/lib/softoken/fipstokn.c
@@ -178,7 +178,8 @@ CK_RV FC_Initialize(CK_VOID_PTR pReserved) {
if (rv == CKR_OK && !init) {
init = PR_TRUE;
- rv = PK11_SlotInit(FIPS_SLOT_ID,PR_TRUE);
+ rv = PK11_SlotInit(FIPS_SLOT_ID,PR_TRUE,nsslowcert_GetDefaultCertDB(),
+ nsslowkey_GetDefaultKeyDB());
/* fall through to check below */
}