mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
[NSS] sync with https://github.com/roytam1/NSS/tree/NSS_3_48_UXP_BRANCH, notably:
- Bug 1665715 - (1/2) revert e8f2720c8254 (bug 1593141) because it's no longer necessary r=jcj (a9bca998) - Bug 1665715 - (2/2) pass encoded signed certificate timestamp extension (if present) in CheckRevocation r=jcj (429f9ef9)
This commit is contained in:
parent
96524cc3c5
commit
4e45ee69e0
22 changed files with 130 additions and 272 deletions
|
|
@ -46,6 +46,13 @@ nssToken_Remove(
|
|||
nssTokenObjectCache_Clear(tok->cache);
|
||||
}
|
||||
|
||||
NSS_IMPLEMENT void
|
||||
NSSToken_Destroy(
|
||||
NSSToken *tok)
|
||||
{
|
||||
(void)nssToken_Destroy(tok);
|
||||
}
|
||||
|
||||
NSS_IMPLEMENT NSSToken *
|
||||
nssToken_AddRef(
|
||||
NSSToken *tok)
|
||||
|
|
@ -982,9 +989,8 @@ sha1_hash(NSSItem *input, NSSItem *output)
|
|||
NSSToken *token = PK11Slot_GetNSSToken(internal);
|
||||
ap = NSSAlgorithmAndParameters_CreateSHA1Digest(NULL);
|
||||
(void)nssToken_Digest(token, NULL, ap, input, output, NULL);
|
||||
PK11_FreeSlot(token->pk11slot);
|
||||
nss_ZFreeIf(ap);
|
||||
(void)nssToken_Destroy(token);
|
||||
PK11_FreeSlot(internal);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
@ -995,9 +1001,8 @@ md5_hash(NSSItem *input, NSSItem *output)
|
|||
NSSToken *token = PK11Slot_GetNSSToken(internal);
|
||||
ap = NSSAlgorithmAndParameters_CreateMD5Digest(NULL);
|
||||
(void)nssToken_Digest(token, NULL, ap, input, output, NULL);
|
||||
PK11_FreeSlot(token->pk11slot);
|
||||
nss_ZFreeIf(ap);
|
||||
(void)nssToken_Destroy(token);
|
||||
PK11_FreeSlot(internal);
|
||||
}
|
||||
|
||||
static CK_TRUST
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue