Closed
Bug 863860
Opened 12 years ago
Closed 1 year ago
nsNSSCertificate::Create does not initialize PSM
Categories
(Core :: Security: PSM, defect, P5)
Core
Security: PSM
Tracking
()
RESOLVED
DUPLICATE
of bug 1788856
People
(Reporter: briansmith, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [psm-cleanup])
In theory, nsNSSCertificate::Create could be called when NSS hasn't been initialized yet, which could cause trouble since nsNSSCertificate methods call NSS functions that depend on NSS being already initialized.
In practice, in the current codebase, this shouldn't be an issue because nsNSSCertificate::Create tables a CERTCertificate* as input, and if the caller already has a CERTCertificate* then it has already initialized NSS, so initializing PSM/NSS in nsNSSCertificate::Create() would already be too late.
Still, we should do this to be consistent with the nsIX509Cert constructor defined in nsNSSModule.cpp.
![]() |
||
Updated•9 years ago
|
Whiteboard: [psm-cleanup]
![]() |
||
Updated•7 years ago
|
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Blocks: nss-external
Updated•1 year ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•