diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-14 09:11:33 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-14 09:11:33 +0100 |
commit | 25d6ee32451e2814364c9051ad27c59c9f63787a (patch) | |
tree | e34403448284b32f79147dd45f3f47ac6e5d1a27 /src | |
parent | finish --check support (diff) | |
download | sha3sum-25d6ee32451e2814364c9051ad27c59c9f63787a.tar.gz sha3sum-25d6ee32451e2814364c9051ad27c59c9f63787a.tar.bz2 sha3sum-25d6ee32451e2814364c9051ad27c59c9f63787a.tar.xz |
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/common.c | 2 |
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; } |