Make the problem clearer.
authorBen Laurie <ben@openssl.org>
Sat, 6 Sep 2003 10:41:27 +0000 (10:41 +0000)
committerBen Laurie <ben@openssl.org>
Sat, 6 Sep 2003 10:41:27 +0000 (10:41 +0000)
fips/fips_check_sha1

index 6dea92a4fceac3fc43eee546a8fbaf76ae87a8a9..3c94c35771d5df6069f69379233fc498788d8ad2 100755 (executable)
@@ -5,4 +5,4 @@ shift
 
 egrep '^CFLAG=.*-DFIPS( |$)' $TOP/Makefile || exit 0
 
-$TOP/fips/sha1/fips_standalone_sha1 $@ | diff -u $FP -
+$TOP/fips/sha1/fips_standalone_sha1 $@ | diff -u $FP - || { echo; echo "*** Your source code does not match the FIPS certified source ***"; echo; exit 1; }