Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/cr-marcstevens/sha1collisiondetection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcr-marcstevens <github@marc-stevens.nl>2017-03-16 16:21:05 +0300
committercr-marcstevens <github@marc-stevens.nl>2017-03-16 16:21:05 +0300
commiteb1bece1df81f854ebb575a86d3535b9256ef0ff (patch)
treeabbb9a2c812054e8f1938b82f0b692abd45b83ff
parent190251bac5458d7a1d0be1fded994dca944a4d42 (diff)
Makefile: rewritten endian correctness test
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ce7f571..5067dd1 100644
--- a/Makefile
+++ b/Makefile
@@ -109,7 +109,7 @@ clean:
.PHONY: test
test: tools
- (test e98a60b463a6868a6ce351ab0166c0af0c8c4721 = `bin/sha1dcsum test/sha1_reducedsha_coll.bin | cut -d' ' -f1` && echo "\nError: Compiled for incorrect endianness" && false) || true
+ test e98a60b463a6868a6ce351ab0166c0af0c8c4721 != `bin/sha1dcsum test/sha1_reducedsha_coll.bin | cut -d' ' -f1` || (echo "\nError: Compiled for incorrect endianness" && false)
test a56374e1cf4c3746499bc7c0acb39498ad2ee185 = `bin/sha1dcsum test/sha1_reducedsha_coll.bin | cut -d' ' -f1`
test 16e96b70000dd1e7c85b8368ee197754400e58ec = `bin/sha1dcsum test/shattered-1.pdf | cut -d' ' -f1`
test e1761773e6a35916d99f891b77663e6405313587 = `bin/sha1dcsum test/shattered-2.pdf | cut -d' ' -f1`