Skip to content

Commit

Permalink
Appease clippy explicit-auto-deref
Browse files Browse the repository at this point in the history
  • Loading branch information
ctz committed Oct 9, 2022
1 parent f481c0b commit 100d575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/verify_cert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ pub fn build_chain(

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);
Expand Down

0 comments on commit 100d575

Please sign in to comment.