mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
add SECStatus
This commit is contained in:
parent
4548345ecc
commit
9194104449
1 changed files with 2 additions and 0 deletions
|
|
@ -604,6 +604,7 @@ sftk_clearPBECommonCacheItemsLocked(KDFCacheItem *item)
|
|||
}
|
||||
}
|
||||
|
||||
static SECStatus
|
||||
sftk_setPBECommonCacheItemsKDFLocked(KDFCacheItem *cacheItem,
|
||||
const SECItem *hash,
|
||||
const NSSPKCS5PBEParameter *pbe_param,
|
||||
|
|
@ -615,6 +616,7 @@ sftk_setPBECommonCacheItemsKDFLocked(KDFCacheItem *cacheItem,
|
|||
cacheItem->keyLen = pbe_param->keyLen;
|
||||
cacheItem->salt = SECITEM_DupItem(&pbe_param->salt);
|
||||
cacheItem->pwItem = SECITEM_DupItem(pwItem);
|
||||
|
||||
return SECSuccess;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue