aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index 0826996..e9bdaf2 100644
--- a/src/common.c
+++ b/src/common.c
@@ -272,7 +272,7 @@ static int check(const libkeccak_spec_t* restrict spec, long squeezes, const cha
libkeccak_unhex(correct_binary, correct_hash);
if ((r = memcmp(correct_binary, hashsum, length)))
bad_found = 1;
- printf("%s: %s\n", filename, r ? "OK" : "Fail");
+ printf("%s: %s\n", filename, !r ? "OK" : "Fail");
return 0;
}