summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2005-08-15 21:38:18 +0000
committerwtchang%redhat.com <devnull@localhost>2005-08-15 21:38:18 +0000
commit3fd5267feb14ae3607af2cc306c25a9706350165 (patch)
tree07a4888065906ddfd93eceb261eed0cbf64be87f
parent054985b71c1214919909ea994fa5e05784ae2c2e (diff)
downloadnss-hg-3fd5267feb14ae3607af2cc306c25a9706350165.tar.gz
Bugzilla Bug 298957: removed a comment. The code already does what the
comment asked for. r=relyea. Tag: NSS_3_10_BRANCH
-rw-r--r--security/nss/lib/pk11wrap/pk11skey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/pk11wrap/pk11skey.c b/security/nss/lib/pk11wrap/pk11skey.c
index 37f0f57ff..7fa1285c1 100644
--- a/security/nss/lib/pk11wrap/pk11skey.c
+++ b/security/nss/lib/pk11wrap/pk11skey.c
@@ -816,7 +816,7 @@ PK11_TokenKeyGenWithFlags(PK11SlotInfo *slot, CK_MECHANISM_TYPE type,
if (!isToken && (slot == NULL || !PK11_DoesMechanism(slot,type))) {
PK11SlotInfo *bestSlot;
- bestSlot = PK11_GetBestSlot(type,wincx); /* TNH: references the slot? */
+ bestSlot = PK11_GetBestSlot(type,wincx);
if (bestSlot == NULL) {
PORT_SetError( SEC_ERROR_NO_MODULE );
return NULL;