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());