From: Ben Laurie Date: Tue, 7 Oct 2003 10:55:36 +0000 (+0000) Subject: Don't assume diff is any good. X-Git-Tag: BEN_FIPS_TEST_1~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2821a5e58710696b0b64f8ab329042d277a5086e;p=openssl Don't assume diff is any good. --- diff --git a/fips/fips_check_sha1 b/fips/fips_check_sha1 index d24f4e2145..51b40ec6d8 100755 --- a/fips/fips_check_sha1 +++ b/fips/fips_check_sha1 @@ -5,4 +5,4 @@ shift egrep 'define OPENSSL_FIPS' $TOP/include/openssl/opensslconf.h > /dev/null || exit 0 -$TOP/fips/sha1/fips_standalone_sha1 $@ | diff -u $FP - || { echo; echo "*** Your source code does not match the FIPS certified source ***"; echo; exit 1; } +$TOP/fips/sha1/fips_standalone_sha1 $@ | diff $FP - || { echo; echo "*** Your source code does not match the FIPS certified source ***"; echo; exit 1; }