summaryrefslogtreecommitdiff
path: root/security/nss/lib/softoken/pkcs11.c
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2006-05-10 21:33:11 +0000
committerwtchang%redhat.com <devnull@localhost>2006-05-10 21:33:11 +0000
commit54f588a3d2dbd6e75b7b4e79e3d7b1c9005c4553 (patch)
tree2a1cd3a4c12f2286f18615fc665d944600cad955 /security/nss/lib/softoken/pkcs11.c
parent3b214467dd965a5202a0bb921583635975cd6fe5 (diff)
downloadnss-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.c3
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' */