mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-24 01:17:34 +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
|
|
@ -13,7 +13,6 @@
|
|||
#include "pki3hack.h"
|
||||
#include "secerr.h"
|
||||
#include "dev.h"
|
||||
#include "dev3hack.h"
|
||||
#include "utilpars.h"
|
||||
#include "pkcs11uri.h"
|
||||
|
||||
|
|
@ -1267,14 +1266,8 @@ SECMOD_WaitForAnyTokenEvent(SECMODModule *mod, unsigned long flags,
|
|||
}
|
||||
/* if we are in the delay period for the "isPresent" call, reset
|
||||
* the delay since we know things have probably changed... */
|
||||
if (slot) {
|
||||
NSSToken *nssToken = PK11Slot_GetNSSToken(slot);
|
||||
if (nssToken) {
|
||||
if (nssToken->slot) {
|
||||
nssSlot_ResetDelay(nssToken->slot);
|
||||
}
|
||||
(void)nssToken_Destroy(nssToken);
|
||||
}
|
||||
if (slot && slot->nssToken && slot->nssToken->slot) {
|
||||
nssSlot_ResetDelay(slot->nssToken->slot);
|
||||
}
|
||||
return slot;
|
||||
|
||||
|
|
@ -1507,12 +1500,8 @@ SECMOD_OpenNewSlot(SECMODModule *mod, const char *moduleSpec)
|
|||
if (slot) {
|
||||
/* if we are in the delay period for the "isPresent" call, reset
|
||||
* the delay since we know things have probably changed... */
|
||||
NSSToken *nssToken = PK11Slot_GetNSSToken(slot);
|
||||
if (nssToken) {
|
||||
if (nssToken->slot) {
|
||||
nssSlot_ResetDelay(nssToken->slot);
|
||||
}
|
||||
(void)nssToken_Destroy(nssToken);
|
||||
if (slot->nssToken && slot->nssToken->slot) {
|
||||
nssSlot_ResetDelay(slot->nssToken->slot);
|
||||
}
|
||||
/* force the slot info structures to properly reset */
|
||||
(void)PK11_IsPresent(slot);
|
||||
|
|
@ -1642,12 +1631,8 @@ SECMOD_CloseUserDB(PK11SlotInfo *slot)
|
|||
PR_smprintf_free(sendSpec);
|
||||
/* if we are in the delay period for the "isPresent" call, reset
|
||||
* the delay since we know things have probably changed... */
|
||||
NSSToken *nssToken = PK11Slot_GetNSSToken(slot);
|
||||
if (nssToken) {
|
||||
if (nssToken->slot) {
|
||||
nssSlot_ResetDelay(nssToken->slot);
|
||||
}
|
||||
(void)nssToken_Destroy(nssToken);
|
||||
if (slot->nssToken && slot->nssToken->slot) {
|
||||
nssSlot_ResetDelay(slot->nssToken->slot);
|
||||
/* force the slot info structures to properly reset */
|
||||
(void)PK11_IsPresent(slot);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue