Open
Bug 968453
Opened 11 years ago
Updated 2 years ago
Add unit tests for x.509 extension parsing in mozilla::pkix's BackCert::Init
Categories
(Core :: Security: PSM, defect, P3)
Tracking
()
NEW
People
(Reporter: briansmith, Unassigned)
Details
(Whiteboard: [psm-backlog])
Follow-up to David's review in bug 921891.
Updated•11 years ago
|
Summary: Add unit tests for x.509 extension parsing in insanity::pkix's BackCert::Init → Add unit tests for x.509 extension parsing in mozilla::pkix's BackCert::Init
Comment 1•8 years ago
|
||
(In reply to David Keeler [:keeler] (use needinfo?) from bug 921891 comment #10)
> Review of attachment 8370948 [details] [diff] [review]:
> ::: security/insanity/lib/pkixbuild.cpp
> @@ +76,5 @@
> > + if (*out) {
> > + // Duplicate extension
> > + return Fail(RecoverableError, SEC_ERROR_EXTENSION_VALUE_INVALID);
> > + }
> > + *out = &ext->value;
>
> This whole function is subtle. I think I understand it, but we should be
> careful here and make sure we have good test coverage.
I guess I meant things like duplicate extensions? Anyway, looks like the implementation is now at https://dxr.mozilla.org/mozilla-central/rev/4d63dde701b47b8661ab7990f197b6b60e543839/security/pkix/lib/pkixcert.cpp#173
Whiteboard: [psm-backlog]
Updated•7 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•