diff --git a/src/rust/cryptography-x509-validation/src/policy/mod.rs b/src/rust/cryptography-x509-validation/src/policy/mod.rs index 328649cd24d8..bfc1ba061c14 100644 --- a/src/rust/cryptography-x509-validation/src/policy/mod.rs +++ b/src/rust/cryptography-x509-validation/src/policy/mod.rs @@ -118,7 +118,7 @@ pub static WEBPKI_PERMITTED_ALGORITHMS: Lazy>> }); const RFC5280_CRITICAL_CA_EXTENSIONS: &[asn1::ObjectIdentifier] = - &[BASIC_CONSTRAINTS_OID, KEY_USAGE_OID]; + &[BASIC_CONSTRAINTS_OID, KEY_USAGE_OID, NAME_CONSTRAINTS_OID]; const RFC5280_CRITICAL_EE_EXTENSIONS: &[asn1::ObjectIdentifier] = &[ BASIC_CONSTRAINTS_OID, SUBJECT_ALTERNATIVE_NAME_OID,