Closed
Bug 1308143
Opened 8 years ago
Closed 7 years ago
Clean up ExtendedValidation.cpp
Categories
(Core :: Security: PSM, defect, P1)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: Cykesiopka, Assigned: Cykesiopka)
References
()
Details
(Whiteboard: [psm-assigned])
Attachments
(1 file)
ExtendedValidation.cpp is in need of some cleaning up.
Here's an incomplete list of what needs cleaning up:
1. These two defines don't appear to be used anywhere:
> #define CONST_OID static const unsigned char
> #define OI(x) { siDEROID, (unsigned char*) x, sizeof x }
2. nsMyTrustedEVInfo members use underscore_naming, instead of camelCase
3. Doesn't use the preferred PSM style of early returns
4. Contains some unnecessary "mozilla::" prefixes.
4a. Some code is inside the mozilla::psm namespace, and some aren't. Ideally, they should all be within the same namespace.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → cykesiopka.bmo
Status: NEW → ASSIGNED
Priority: P3 → P1
Whiteboard: [psm-cleanup] → [psm-assigned]
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8865514 [details] Bug 1308143 - Clean up ExtendedValidation.cpp. https://reviewboard.mozilla.org/r/137146/#review140284 Cool - lgtm.
Attachment #8865514 -
Flags: review?(dkeeler) → review+
Assignee | ||
Comment 3•7 years ago
|
||
Thanks! https://treeherder.mozilla.org/#/jobs?repo=try&revision=c1409a0bf3ca74860863ea0b6a660152644fe304
Keywords: checkin-needed
Pushed by ihsiao@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8cb5ee464e42 Clean up ExtendedValidation.cpp. r=keeler
Keywords: checkin-needed
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d0b06894933d Clean up ExtendedValidation.cpp. r=keeler
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d0b06894933d
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•