diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-06-27 00:45:42 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-06-27 00:45:42 +0200 |
commit | 3c568a5681bac0a84f7a49697951780170ad182c (patch) | |
tree | be4fc0e3b5849d3b5282bdabe981698ecce31385 /security/nss/lib/softoken/sftkdb.c | |
parent | 4b188510af097627f117482dfc7c3d308c845385 (diff) | |
download | UXP-3c568a5681bac0a84f7a49697951780170ad182c.tar UXP-3c568a5681bac0a84f7a49697951780170ad182c.tar.gz UXP-3c568a5681bac0a84f7a49697951780170ad182c.tar.lz UXP-3c568a5681bac0a84f7a49697951780170ad182c.tar.xz UXP-3c568a5681bac0a84f7a49697951780170ad182c.zip |
Update NSS to 3.41.1 (custom)
This resolves #82
Diffstat (limited to 'security/nss/lib/softoken/sftkdb.c')
-rw-r--r-- | security/nss/lib/softoken/sftkdb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/security/nss/lib/softoken/sftkdb.c b/security/nss/lib/softoken/sftkdb.c index 409c910f4..21796bbbb 100644 --- a/security/nss/lib/softoken/sftkdb.c +++ b/security/nss/lib/softoken/sftkdb.c @@ -530,6 +530,7 @@ sftk_signTemplate(PLArenaPool *arena, SFTKDBHandle *handle, goto loser; } rv = sftkdb_SignAttribute(arena, &keyHandle->passwordKey, + keyHandle->defaultIterationCount, objectID, template[i].type, &plainText, &signText); PZ_Unlock(keyHandle->passwordLock); @@ -663,6 +664,7 @@ sftk_ExtractTemplate(PLArenaPool *arena, SFTKObject *object, break; } rv = sftkdb_EncryptAttribute(arena, &handle->passwordKey, + handle->defaultIterationCount, &plainText, &cipherText); PZ_Unlock(handle->passwordLock); if (rv == SECSuccess) { @@ -2759,7 +2761,7 @@ sftk_DBInit(const char *configdir, const char *certPrefix, (sftkdb_HasPasswordSet(*keyDB) == SECSuccess) ? PR_TRUE : PR_FALSE; /* if the password on the key db is NULL, kick off our update * chain of events */ - sftkdb_CheckPassword((*keyDB), "", &tokenRemoved); + sftkdb_CheckPasswordNull((*keyDB), &tokenRemoved); } else { /* we don't have a key DB, update the certificate DB now */ sftkdb_Update(*certDB, NULL); |