diff --git a/src/certs/fingerprint.rs b/src/certs/fingerprint.rs index c0f8df2..57598f6 100644 --- a/src/certs/fingerprint.rs +++ b/src/certs/fingerprint.rs @@ -102,7 +102,7 @@ impl CertFingerprint { } Self::Raw(cert) => { let mut buf: Vec = Vec::new(); - b16::encode_str(&cert, &mut buf).unwrap().to_owned() + b16::encode_str(cert, &mut buf).unwrap().to_owned() } } } @@ -120,7 +120,7 @@ impl CertFingerprint { } Self::Raw(cert) => { let mut buf: Vec = Vec::new(); - b64::encode(&cert, &mut buf).unwrap().to_owned() + b64::encode(cert, &mut buf).unwrap().to_owned() } } }