From f0a5013824747968f48eeb97e3e35ca938d4512b Mon Sep 17 00:00:00 2001 From: Pierre Chifflier Date: Wed, 22 Jul 2026 10:35:54 +0200 Subject: [PATCH] Fix typo in README.md (references #230) --- README.md | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 89f83cd..796d450 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ pub fn check_signature(cert: &X509Certificate<'_>, issuer: &X509Certificate<'_>) `--all-features`), the verification will use `aws-lc-rs`. It also has the side-effect of having a dependency on `ring`, even if it is not used. -- The `validate` feature add methods to run more validation functions on the certificate structure +- The `validate` feature adds methods to run more validation functions on the certificate structure and values using the [`Validate`](https://docs.rs/x509-parser/latest/x509_parser/validate/trait.Validate.html) trait. It does not validate any cryptographic parameter (see `verify` above). diff --git a/src/lib.rs b/src/lib.rs index 38f7476..091b533 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -118,7 +118,7 @@ //! `--all-features`), the verification will use `aws-lc-rs`. It also has the side-effect of //! having a dependency on `ring`, even if it is not used. //! -//! - The `validate` feature add methods to run more validation functions on the certificate structure +//! - The `validate` feature adds methods to run more validation functions on the certificate structure //! and values using the [`Validate`](crate::validate::Validate) trait. //! It does not validate any cryptographic parameter (see `verify` above). //!