Closed Bug 998482 Opened 10 years ago Closed 10 years ago

Test OID encoding

Categories

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

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mmc, Unassigned)

References

Details

+++ This bug was initially created as a clone of Bug #968490 +++
See https://bugzilla.mozilla.org/show_bug.cgi?id=968490#c19

Let's file a follow-up bug for more comprehensive testing of OIDs. It turns out that OID encoding is complicated.
It's not clear to me that this is necessary any more. Since we use the utility added in bug 1019109 to turn human-readable OIDs into sequences of bytes, we don't actually need to do any OID decoding in mozilla::pkix. Furthermore, that utility will handle any encoding needs we have. Bug 1020993 is soon to land, which will test a place we actually use OIDs. I think doing more of this (i.e. testing specific OIDs we're expecting in specific parts of the code and that we handle them correctly) will be more useful than just testing OID encoding/decoding in general.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.