diff options
author | wtchang%redhat.com <devnull@localhost> | 2006-05-10 21:33:11 +0000 |
---|---|---|
committer | wtchang%redhat.com <devnull@localhost> | 2006-05-10 21:33:11 +0000 |
commit | 54f588a3d2dbd6e75b7b4e79e3d7b1c9005c4553 (patch) | |
tree | 2a1cd3a4c12f2286f18615fc665d944600cad955 /security/nss/lib/softoken/pkcs11.c | |
parent | 3b214467dd965a5202a0bb921583635975cd6fe5 (diff) | |
download | nss-hg-54f588a3d2dbd6e75b7b4e79e3d7b1c9005c4553.tar.gz |
Bugzilla Bug 298506: Do not log the token name (so the declaration of
sftk_getDefTokName in pkcs11i.h and the previous change to sftk_SlotFromID
weren't necessary). Use Linux's audit subsystem if available. r=relyea.
Modified files: fipstokn.c pkcs11.c pkcs11i.h
Diffstat (limited to 'security/nss/lib/softoken/pkcs11.c')
-rw-r--r-- | security/nss/lib/softoken/pkcs11.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/security/nss/lib/softoken/pkcs11.c b/security/nss/lib/softoken/pkcs11.c index 2439e55bb..39ef7de02 100644 --- a/security/nss/lib/softoken/pkcs11.c +++ b/security/nss/lib/softoken/pkcs11.c @@ -2410,9 +2410,6 @@ sftk_SlotFromID(CK_SLOT_ID slotID, PRBool all) { SFTKSlot *slot; int index = sftk_GetModuleIndex(slotID); - if (nscSlotHashTable[index] == NULL) { - return NULL; - } slot = (SFTKSlot *)PL_HashTableLookupConst(nscSlotHashTable[index], (void *)slotID); /* cleared slots shouldn't 'show up' */ |