Closed Bug 1308143 Opened 8 years ago Closed 7 years ago

Clean up ExtendedValidation.cpp

Categories

(Core :: Security: PSM, defect, P1)

defect

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: nobody → cykesiopka.bmo
Status: NEW → ASSIGNED
Priority: P3 → P1
Whiteboard: [psm-cleanup] → [psm-assigned]
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+
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
https://hg.mozilla.org/mozilla-central/rev/d0b06894933d
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: