diff --git a/src/der.rs b/src/der.rs index 43d0847d..9ef4efb5 100644 --- a/src/der.rs +++ b/src/der.rs @@ -14,7 +14,7 @@ use crate::{calendar, time, Error}; pub use ring::io::{ - der::{nested, Tag, CONSTRUCTED}, + der::{nested, Tag}, Positive, }; diff --git a/src/verify_cert.rs b/src/verify_cert.rs index fe7ef9db..b166eccb 100644 --- a/src/verify_cert.rs +++ b/src/verify_cert.rs @@ -80,6 +80,7 @@ fn build_chain_inner( // TODO: revocation. + #[allow(clippy::blocks_in_conditions)] match loop_while_non_fatal_error(trust_anchors, |trust_anchor: &TrustAnchor| { let trust_anchor_subject = untrusted::Input::from(trust_anchor.subject); if !equal(cert.issuer, trust_anchor_subject) {