Skip to content

Commit

Permalink
x509-certificate: don't take reference of a reference
Browse files Browse the repository at this point in the history
As found by clippy.
  • Loading branch information
indygreg committed Sep 2, 2021
1 parent c50e8c0 commit 3e5854a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x509-certificate/src/certificate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ impl CapturedX509Certificate {
let public_key = signature::UnparsedPublicKey::new(verify_algorithm, public_key_data);

public_key
.verify(&signed_data, &signature)
.verify(signed_data, &signature)
.map_err(|_| Error::CertificateSignatureVerificationFailed)
}

Expand Down

0 comments on commit 3e5854a

Please sign in to comment.