While updating the webpki-roots codegen.rs test to generate the root collection using CCADB data we took a dev dependency on yasna to support DER serializing name constraints extensions based on a string representation.
Having this dependency means we can drop the crummy hand-serialized SEQUENCE wrapping that the name_constraints test from tests/verify.rs was doing, replacing it with a Yasna serializer.
Tiny follow-up to https://github.com/rustls/webpki-roots/pull/40 I thought of randomly.
While updating the webpki-roots
codegen.rs
test to generate the root collection using CCADB data we took a dev dependency on yasna to support DER serializing name constraints extensions based on a string representation.Having this dependency means we can drop the crummy hand-serialized SEQUENCE wrapping that the
name_constraints
test fromtests/verify.rs
was doing, replacing it with a Yasna serializer.