From d5e7d4ba100f4efbda76c7187065640cfb9b09d6 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Wed, 30 Aug 2023 16:27:01 -0700 Subject: [PATCH] NFC: Address Clippy `explicit_auto_deref`. --- mk/clippy.sh | 1 - src/verify_cert.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/mk/clippy.sh b/mk/clippy.sh index 0b1169ff..a8475e39 100755 --- a/mk/clippy.sh +++ b/mk/clippy.sh @@ -26,6 +26,5 @@ cargo clippy \ \ --deny clippy::as_conversions \ \ - --allow clippy::explicit_auto_deref \ --allow clippy::too_many_arguments \ $NULL diff --git a/src/verify_cert.rs b/src/verify_cert.rs index 7899c650..d9674a48 100644 --- a/src/verify_cert.rs +++ b/src/verify_cert.rs @@ -149,7 +149,7 @@ fn build_chain_inner( loop_while_non_fatal_error(intermediate_certs, |cert_der| { let potential_issuer = - cert::parse_cert(untrusted::Input::from(*cert_der), EndEntityOrCa::Ca(cert))?; + cert::parse_cert(untrusted::Input::from(cert_der), EndEntityOrCa::Ca(cert))?; if potential_issuer.subject != cert.issuer { return Err(Error::UnknownIssuer.into());