Skip to content

Commit c25cfb6

Browse files
committed
Appease Clippy.
1 parent fe5bbc1 commit c25cfb6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/der.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
use crate::{calendar, time, Error};
1616
pub use ring::io::{
17-
der::{nested, Tag, CONSTRUCTED},
17+
der::{nested, Tag},
1818
Positive,
1919
};
2020

src/verify_cert.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ fn build_chain_inner(
8080

8181
// TODO: revocation.
8282

83+
#[allow(clippy::blocks_in_conditions)]
8384
match loop_while_non_fatal_error(trust_anchors, |trust_anchor: &TrustAnchor| {
8485
let trust_anchor_subject = untrusted::Input::from(trust_anchor.subject);
8586
if !equal(cert.issuer, trust_anchor_subject) {

0 commit comments

Comments
 (0)