mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 00:17:32 +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
|
|
@ -299,15 +299,9 @@ __CERT_AddTempCertToPerm(CERTCertificate *cert, char *nickname,
|
|||
/* Import the perm instance onto the internal token */
|
||||
slot = PK11_GetInternalKeySlot();
|
||||
internal = PK11Slot_GetNSSToken(slot);
|
||||
if (!internal) {
|
||||
PK11_FreeSlot(slot);
|
||||
PORT_SetError(SEC_ERROR_NO_TOKEN);
|
||||
return SECFailure;
|
||||
}
|
||||
permInstance = nssToken_ImportCertificate(
|
||||
internal, NULL, NSSCertificateType_PKIX, &c->id, stanNick, &c->encoding,
|
||||
&c->issuer, &c->subject, &c->serial, cert->emailAddr, PR_TRUE);
|
||||
(void)nssToken_Destroy(internal);
|
||||
nss_ZFreeIf(stanNick);
|
||||
stanNick = NULL;
|
||||
PK11_FreeSlot(slot);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue