Skip to content

Commit

Permalink
Appease Clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Feb 18, 2024
1 parent fe5bbc1 commit 8f81719
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/der.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

use crate::{calendar, time, Error};
pub use ring::io::{
der::{nested, Tag, CONSTRUCTED},
der::{nested, Tag},
Positive,
};

Expand Down
1 change: 1 addition & 0 deletions src/verify_cert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8f81719

Please sign in to comment.