From 1bd6f32b436a8ef3528d6d4903ca9f5f86a40215 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 11 Feb 2020 11:37:24 +0100 Subject: [PATCH] src/client/http_client.rs: always convert fingerprint to lowercase --- src/client/http_client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/http_client.rs b/src/client/http_client.rs index 00d97a45..7e15518e 100644 --- a/src/client/http_client.rs +++ b/src/client/http_client.rs @@ -385,7 +385,7 @@ impl HttpClient { .collect::>().join(":"); if let Some(expected_fingerprint) = expected_fingerprint { - if expected_fingerprint == fp_string { + if expected_fingerprint.to_lowercase() == fp_string { return (true, Some(fp_string)); } else { return (false, None);