diff options
-rw-r--r-- | src/regress/lib/libcrypto/sha2/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/sha2/Makefile b/src/regress/lib/libcrypto/sha2/Makefile index e2bbb02d15..e7bccf5f24 100644 --- a/src/regress/lib/libcrypto/sha2/Makefile +++ b/src/regress/lib/libcrypto/sha2/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.2 2014/08/26 17:50:07 jsing Exp $ | 1 | # $OpenBSD: Makefile,v 1.3 2015/09/29 01:07:56 doug Exp $ |
2 | 2 | ||
3 | REGRESS_TARGETS=regress-sha2 | 3 | REGRESS_TARGETS=regress-sha2 |
4 | OPENSSL=/usr/bin/openssl | 4 | OPENSSL=/usr/bin/openssl |
@@ -31,7 +31,7 @@ HASHES= \ | |||
31 | 31 | ||
32 | regress-sha2: | 32 | regress-sha2: |
33 | .for hash input output in ${HASHES} | 33 | .for hash input output in ${HASHES} |
34 | @(echo -n ${input} | ${OPENSSL} sha -${hash} | (read a b; \ | 34 | @(echo -n ${input} | ${OPENSSL} ${hash} | (read a b; \ |
35 | test $$b == ${output} || \ | 35 | test $$b == ${output} || \ |
36 | (echo wrong ${hash} hash of \"${input}\"; \ | 36 | (echo wrong ${hash} hash of \"${input}\"; \ |
37 | echo expected: ${output}; \ | 37 | echo expected: ${output}; \ |