Bugzilla Bug 298957: removed a comment. The code already does what the

comment asked for. r=relyea.
This commit is contained in:
wtchang%redhat.com 2005-08-15 21:34:42 +00:00
parent 80d892f39d
commit 5e25df8763

View File

@ -831,7 +831,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;