mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
Replace NSS with Pale Moon's
This commit is contained in:
parent
ff1e5e48bf
commit
8c2e376f94
2870 changed files with 1762232 additions and 1374220 deletions
|
|
@ -4277,6 +4277,7 @@ CreateTrust(void)
|
|||
if (trust) {
|
||||
trustListCount--;
|
||||
trustListHead = trust->next;
|
||||
trust->next = NULL;
|
||||
}
|
||||
PORT_Assert(trustListCount >= 0);
|
||||
nsslowcert_UnlockFreeList();
|
||||
|
|
@ -5160,9 +5161,11 @@ nsslowcert_hasTrust(NSSLOWCERTCertTrust *trust)
|
|||
if (trust == NULL) {
|
||||
return PR_FALSE;
|
||||
}
|
||||
return !((trust->sslFlags & CERTDB_TRUSTED_UNKNOWN) &&
|
||||
(trust->emailFlags & CERTDB_TRUSTED_UNKNOWN) &&
|
||||
(trust->objectSigningFlags & CERTDB_TRUSTED_UNKNOWN));
|
||||
/* if we only have CERTDB__USER and CERTDB_TRUSTED_UNKNOWN bits, then
|
||||
* we don't have a trust record. */
|
||||
return !(((trust->sslFlags & ~(CERTDB_USER | CERTDB_TRUSTED_UNKNOWN)) == 0) &&
|
||||
((trust->emailFlags & ~(CERTDB_USER | CERTDB_TRUSTED_UNKNOWN)) == 0) &&
|
||||
((trust->objectSigningFlags & ~(CERTDB_USER | CERTDB_TRUSTED_UNKNOWN)) == 0));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue