-DFIPS may be the last thing on the line.
authorBen Laurie <ben@openssl.org>
Thu, 4 Sep 2003 09:04:24 +0000 (09:04 +0000)
committerBen Laurie <ben@openssl.org>
Thu, 4 Sep 2003 09:04:24 +0000 (09:04 +0000)
fips/fips_check_sha1

index ccc70d5f0a06a3d9f924f61616201c52e43503a2..6dea92a4fceac3fc43eee546a8fbaf76ae87a8a9 100755 (executable)
@@ -3,6 +3,6 @@
 FP=$1
 shift
 
-egrep '^CFLAG=.*-DFIPS ' $TOP/Makefile || exit 0
+egrep '^CFLAG=.*-DFIPS( |$)' $TOP/Makefile || exit 0
 
 $TOP/fips/sha1/fips_standalone_sha1 $@ | diff -u $FP -