Skip to content

Commit e3d79f3

Browse files
authored
Improve error message if anyEKU is encountered
1 parent 06859bf commit e3d79f3

File tree

1 file changed

+1
-1
lines changed
  • src/rust/cryptography-x509-verification/src/policy

1 file changed

+1
-1
lines changed

src/rust/cryptography-x509-verification/src/policy/extension.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ mod ca {
642642
Ok(())
643643
} else {
644644
Err(ValidationError::new(ValidationErrorKind::Other(
645-
"required EKU not found".to_string(),
645+
"EKU not found or anyEKU found".to_string(),
646646
)))
647647
}
648648
} else {

0 commit comments

Comments
 (0)