src/client/http_client.rs: always convert fingerprint to lowercase
This commit is contained in:
parent
d1c657276a
commit
1bd6f32b43
@ -385,7 +385,7 @@ impl HttpClient {
|
|||||||
.collect::<Vec<&str>>().join(":");
|
.collect::<Vec<&str>>().join(":");
|
||||||
|
|
||||||
if let Some(expected_fingerprint) = expected_fingerprint {
|
if let Some(expected_fingerprint) = expected_fingerprint {
|
||||||
if expected_fingerprint == fp_string {
|
if expected_fingerprint.to_lowercase() == fp_string {
|
||||||
return (true, Some(fp_string));
|
return (true, Some(fp_string));
|
||||||
} else {
|
} else {
|
||||||
return (false, None);
|
return (false, None);
|
||||||
|
Loading…
Reference in New Issue
Block a user