mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Update NSS to 3.35-RTM
This commit is contained in:
parent
fe49ad404e
commit
66dd670b60
388 changed files with 39075 additions and 20752 deletions
|
|
@ -180,16 +180,18 @@ STAN_RemoveModuleFromDefaultTrustDomain(
|
|||
NSSTrustDomain *td;
|
||||
int i;
|
||||
td = STAN_GetDefaultTrustDomain();
|
||||
NSSRWLock_LockWrite(td->tokensLock);
|
||||
for (i = 0; i < module->slotCount; i++) {
|
||||
token = PK11Slot_GetNSSToken(module->slots[i]);
|
||||
if (token) {
|
||||
nssToken_NotifyCertsNotVisible(token);
|
||||
NSSRWLock_LockWrite(td->tokensLock);
|
||||
nssList_Remove(td->tokenList, token);
|
||||
NSSRWLock_UnlockWrite(td->tokensLock);
|
||||
PK11Slot_SetNSSToken(module->slots[i], NULL);
|
||||
nssToken_Destroy(token);
|
||||
}
|
||||
}
|
||||
NSSRWLock_LockWrite(td->tokensLock);
|
||||
nssListIterator_Destroy(td->tokens);
|
||||
td->tokens = nssList_CreateIterator(td->tokenList);
|
||||
NSSRWLock_UnlockWrite(td->tokensLock);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue