mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 09:57:32 +09:00
re-introduce old nss im too tired for this
This commit is contained in:
parent
3c46be320d
commit
3a838106b9
2871 changed files with 1374431 additions and 1762417 deletions
|
|
@ -4277,7 +4277,6 @@ CreateTrust(void)
|
|||
if (trust) {
|
||||
trustListCount--;
|
||||
trustListHead = trust->next;
|
||||
trust->next = NULL;
|
||||
}
|
||||
PORT_Assert(trustListCount >= 0);
|
||||
nsslowcert_UnlockFreeList();
|
||||
|
|
@ -5161,11 +5160,9 @@ nsslowcert_hasTrust(NSSLOWCERTCertTrust *trust)
|
|||
if (trust == NULL) {
|
||||
return PR_FALSE;
|
||||
}
|
||||
/* 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));
|
||||
return !((trust->sslFlags & CERTDB_TRUSTED_UNKNOWN) &&
|
||||
(trust->emailFlags & CERTDB_TRUSTED_UNKNOWN) &&
|
||||
(trust->objectSigningFlags & CERTDB_TRUSTED_UNKNOWN));
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue