Adapt FIPS sub-tree for mingw.

This commit is contained in:
Andy Polyakov
2004-12-10 16:30:34 +00:00
parent a4a88eea03
commit 535178f415
3 changed files with 3 additions and 3 deletions

View File

@@ -5,4 +5,4 @@ shift
egrep 'define OPENSSL_FIPS' $TOP/include/openssl/opensslconf.h > /dev/null || exit 0 egrep 'define OPENSSL_FIPS' $TOP/include/openssl/opensslconf.h > /dev/null || exit 0
$TOP/fips/sha1/fips_standalone_sha1 $@ | diff $FP - || { echo; echo "*** Your source code does not match the FIPS validated source ***"; echo; exit 1; } $TOP/fips/sha1/fips_standalone_sha1 $@ | diff -w $FP - || { echo; echo "*** Your source code does not match the FIPS validated source ***"; echo; exit 1; }

View File

@@ -18,7 +18,7 @@ else
fi fi
echo "Checking library fingerprint for $lib" echo "Checking library fingerprint for $lib"
openssl sha1 -hmac etaonrishdlcupfm $lib | sed "s/(.*\//(/" | diff $lib.sha1 - || { echo "$libs fingerprint mismatch"; exit 1; } openssl sha1 -hmac etaonrishdlcupfm $lib | sed "s/(.*\//(/" | diff -w $lib.sha1 - || { echo "$libs fingerprint mismatch"; exit 1; }
[ -x $exe.exe ] && exe=$exe.exe [ -x $exe.exe ] && exe=$exe.exe

View File

@@ -60,7 +60,7 @@ files:
links: links:
@$(PERL) $(TOP)/util/mklink.pl $(TOP)/include/openssl $(EXHEADER) @$(PERL) $(TOP)/util/mklink.pl $(TOP)/include/openssl $(EXHEADER)
@$(PERL) $(TOP)/util/mklink.pl $(TOP)/test $(TEST) @$(PERL) $(TOP)/util/mklink.pl $(TOP)/test $(TEST)
@$(PERL) $(TOP)/util/mklink.pl $(TOP)/test $(TESTDATA) cp $(TESTDATA) $(TOP)/test
@$(PERL) $(TOP)/util/mklink.pl $(TOP)/apps $(APPS) @$(PERL) $(TOP)/util/mklink.pl $(TOP)/apps $(APPS)
install: install: