diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-06-26 15:13:18 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-06-26 15:13:18 +0200 |
commit | fbc2eaacd679f0c484993ffe23d786fd06da22c3 (patch) | |
tree | 5f78f9cedea413ac9c425ad209f2b03bd7bba323 /security/nss/lib/softoken/pkcs11.c | |
parent | d7359c38b197c221c43def1e24cb48d4aee51bba (diff) | |
download | UXP-fbc2eaacd679f0c484993ffe23d786fd06da22c3.tar UXP-fbc2eaacd679f0c484993ffe23d786fd06da22c3.tar.gz UXP-fbc2eaacd679f0c484993ffe23d786fd06da22c3.tar.lz UXP-fbc2eaacd679f0c484993ffe23d786fd06da22c3.tar.xz UXP-fbc2eaacd679f0c484993ffe23d786fd06da22c3.zip |
Update NSS to 3.41.1 (custom)
This resolves #82
Diffstat (limited to 'security/nss/lib/softoken/pkcs11.c')
-rw-r--r-- | security/nss/lib/softoken/pkcs11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nss/lib/softoken/pkcs11.c b/security/nss/lib/softoken/pkcs11.c index 34f25a9d0..7dd4f7ee9 100644 --- a/security/nss/lib/softoken/pkcs11.c +++ b/security/nss/lib/softoken/pkcs11.c @@ -617,7 +617,7 @@ sftk_hasNullPassword(SFTKSlot *slot, SFTKDBHandle *keydb) pwenabled = PR_FALSE; if (sftkdb_HasPasswordSet(keydb) == SECSuccess) { PRBool tokenRemoved = PR_FALSE; - SECStatus rv = sftkdb_CheckPassword(keydb, "", &tokenRemoved); + SECStatus rv = sftkdb_CheckPasswordNull(keydb, &tokenRemoved); if (tokenRemoved) { sftk_CloseAllSessions(slot, PR_FALSE); } @@ -3812,7 +3812,7 @@ NSC_SetPIN(CK_SESSION_HANDLE hSession, CK_CHAR_PTR pOldPin, PZ_Unlock(slot->slotLock); tokenRemoved = PR_FALSE; - rv = sftkdb_CheckPassword(handle, "", &tokenRemoved); + rv = sftkdb_CheckPasswordNull(handle, &tokenRemoved); if (tokenRemoved) { sftk_CloseAllSessions(slot, PR_FALSE); } |