diff options
-rw-r--r-- | coreutils/md5_sha1_sum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/md5_sha1_sum.c b/coreutils/md5_sha1_sum.c index f6a21237d..978d328f1 100644 --- a/coreutils/md5_sha1_sum.c +++ b/coreutils/md5_sha1_sum.c | |||
@@ -320,7 +320,7 @@ int md5_sha1_sum_main(int argc UNUSED_PARAM, char **argv) | |||
320 | 320 | ||
321 | hash_value = hash_file(in_buf, filename_ptr, sha3_width); | 321 | hash_value = hash_file(in_buf, filename_ptr, sha3_width); |
322 | 322 | ||
323 | if (hash_value && (strcmp((char*)hash_value, line) == 0)) { | 323 | if (hash_value && (strcasecmp((char*)hash_value, line) == 0)) { |
324 | if (!(flags & FLAG_SILENT)) | 324 | if (!(flags & FLAG_SILENT)) |
325 | printf("%s: OK\n", filename_ptr); | 325 | printf("%s: OK\n", filename_ptr); |
326 | } else { | 326 | } else { |