Skip to content

Commit

Permalink
NFC: Address Clippy explicit_auto_deref.
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith committed Aug 30, 2023
1 parent 841250a commit d5e7d4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion mk/clippy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@ cargo clippy \
\
--deny clippy::as_conversions \
\
--allow clippy::explicit_auto_deref \
--allow clippy::too_many_arguments \
$NULL
2 changes: 1 addition & 1 deletion src/verify_cert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit d5e7d4b

Please sign in to comment.