diff options
-rw-r--r-- | coreutils/md5_sha1_sum.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/coreutils/md5_sha1_sum.c b/coreutils/md5_sha1_sum.c index f6a21237d..15f2c04de 100644 --- a/coreutils/md5_sha1_sum.c +++ b/coreutils/md5_sha1_sum.c | |||
@@ -320,7 +320,11 @@ 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 ENABLE_PLATFORM_MINGW32 | ||
324 | if (hash_value && (strcasecmp((char*)hash_value, line) == 0)) { | ||
325 | #else | ||
323 | if (hash_value && (strcmp((char*)hash_value, line) == 0)) { | 326 | if (hash_value && (strcmp((char*)hash_value, line) == 0)) { |
327 | #endif | ||
324 | if (!(flags & FLAG_SILENT)) | 328 | if (!(flags & FLAG_SILENT)) |
325 | printf("%s: OK\n", filename_ptr); | 329 | printf("%s: OK\n", filename_ptr); |
326 | } else { | 330 | } else { |