summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrelyea%netscape.com <devnull@localhost>2001-07-06 19:00:12 +0000
committerrelyea%netscape.com <devnull@localhost>2001-07-06 19:00:12 +0000
commit0f693deb651d2c7f6a1aadbf8adee9cfd50d93d4 (patch)
tree836abb70d9227cb35f4e9cd91e9560aee2ae5426
parentc6d63ae7eb5e74854b7a0e1ffa0d6f093427c691 (diff)
downloadnss-hg-0f693deb651d2c7f6a1aadbf8adee9cfd50d93d4.tar.gz
Allow Ask always to work with tokens.
-rw-r--r--security/nss/lib/pk11wrap/pk11slot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/pk11wrap/pk11slot.c b/security/nss/lib/pk11wrap/pk11slot.c
index 315c86585..64601e46b 100644
--- a/security/nss/lib/pk11wrap/pk11slot.c
+++ b/security/nss/lib/pk11wrap/pk11slot.c
@@ -726,7 +726,7 @@ PK11_HandlePasswordCheck(PK11SlotInfo *slot,void *wincx)
/* timeouts are handled by isLoggedIn */
if (!PK11_IsLoggedIn(slot,wincx)) {
NeedAuth = PR_TRUE;
- } else if (slot->askpw == -1) {
+ } else if (askpw == -1) {
if (!PK11_Global.inTransaction ||
(PK11_Global.transaction != slot->authTransact)) {
PK11_EnterSlotMonitor(slot);