We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3989865 commit 687be1bCopy full SHA for 687be1b
1 file changed
clang-installer/src/downloader/hashing.rs
@@ -44,7 +44,7 @@ impl HashAlgorithm {
44
}
45
progress_bar.finish()?;
46
let actual = format!("{:x}", hasher.finalize());
47
- if actual == *expected {
+ if actual == expected.to_ascii_lowercase() {
48
Ok(())
49
} else {
50
Err(DownloadError::HashMismatch {
0 commit comments