mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
import changes from mozilla nss repo:
- Bug 1641480, TLS 1.3: tighten CCS handling in compatibility mode, r=mt - Bug 1672703, always tolerate the first CCS in TLS 1.3, r=mt - Bug 1663661 - Guard against NULL token in nssSlot_IsTokenPresent. r=jcj - Bug 1607449 - Lock cert->nssCertificate to prevent data race. r=jcj,keeler - Bug 1679290 - Don't hold slot lock when taking session lock r=bbeurdouche
This commit is contained in:
parent
ee3eabdb1e
commit
ecf2071a46
9 changed files with 184 additions and 29 deletions
|
|
@ -1146,8 +1146,11 @@ PK11_ImportCert(PK11SlotInfo *slot, CERTCertificate *cert,
|
|||
}
|
||||
|
||||
/* need to get the cert as a stan cert */
|
||||
if (cert->nssCertificate) {
|
||||
c = cert->nssCertificate;
|
||||
CERT_LockCertTempPerm(cert);
|
||||
NSSCertificate *nssCert = cert->nssCertificate;
|
||||
CERT_UnlockCertTempPerm(cert);
|
||||
if (nssCert) {
|
||||
c = nssCert;
|
||||
} else {
|
||||
c = STAN_GetNSSCertificate(cert);
|
||||
if (c == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue