From 25d6ee32451e2814364c9051ad27c59c9f63787a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 14 Nov 2014 09:11:33 +0100 Subject: derp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3-70-g09d2