diff options
author | relyea%netscape.com <devnull@localhost> | 2001-07-06 19:00:12 +0000 |
---|---|---|
committer | relyea%netscape.com <devnull@localhost> | 2001-07-06 19:00:12 +0000 |
commit | 0f693deb651d2c7f6a1aadbf8adee9cfd50d93d4 (patch) | |
tree | 836abb70d9227cb35f4e9cd91e9560aee2ae5426 | |
parent | c6d63ae7eb5e74854b7a0e1ffa0d6f093427c691 (diff) | |
download | nss-hg-0f693deb651d2c7f6a1aadbf8adee9cfd50d93d4.tar.gz |
Allow Ask always to work with tokens.
-rw-r--r-- | security/nss/lib/pk11wrap/pk11slot.c | 2 |
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); |