From c25cfb6b2d4755f739c7d3a30611a809e91cdad4 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Sun, 18 Feb 2024 12:55:41 -0800 Subject: [PATCH] Appease Clippy. --- src/der.rs | 2 +- src/verify_cert.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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) {