Closed
Bug 1260640
Opened 8 years ago
Closed 5 years ago
Update nsNSSCertificateDB::getCertsFromPackage() so callers don't need to convert the returned certs into usable formats
Categories
(Core :: Security: PSM, defect, P5)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
mozilla71
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: Cykesiopka, Assigned: mbirghan)
References
()
Details
(Whiteboard: [psm-cleanup])
Attachments
(1 file)
nsNSSCertificateDB::getCertsFromPackage() (in concert with collect_certs()) currently takes a raw buffer, decodes the certs within, and returns those certs as an array of SECItems via the |rawCerts| member of a CERTDERCerts struct. This is problematic, because at least some callers of the method instead require an array of SECItem *pointers*, and have to manually convert to the appropriate format. ImportCertsIntoTempStorage() is an example function that has to deal with this: https://hg.mozilla.org/mozilla-central/file/df87a62ca357/security/manager/ssl/nsNSSCertificateDB.cpp#l501. If possible, getCertsFromPackage() should be modified so that this sort of manual conversion is not required.
Priority: -- → P5
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Keywords: checkin-needed
Pushed by dluca@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1525cf59dd27
Update nsNSSCertificateDB::getCertsFromPackage() so callers don't need to convert the returned certs into usable formats r=keeler
Keywords: checkin-needed
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox71:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Updated•5 years ago
|
Assignee: nobody → mbirghan
You need to log in
before you can comment on or make changes to this bug.
Description
•