From: Ben Laurie Date: Sun, 31 Aug 2003 08:52:39 +0000 (+0000) Subject: Add test. X-Git-Tag: BEN_FIPS_TEST_1~76 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=51f7c5a6ea4703fb55b48f649ed703722240a2a6;p=oweals%2Fopenssl.git Add test. --- diff --git a/fips/sha1/Makefile.ssl b/fips/sha1/Makefile.ssl index 4ea1e4bad3..373d11a5f3 100644 --- a/fips/sha1/Makefile.ssl +++ b/fips/sha1/Makefile.ssl @@ -73,6 +73,17 @@ tags: tests: +top_fips_sha1test: + (cd ../..; $(MAKE) DIRS=fips FDIRS=$(DIR) TARGET=fips_sha1test sub_target) + +fips_sha1test: fips_sha1test.o ../../libcrypto.a + $(CC) $(CFLAGS) -o fips_sha1test fips_sha1test.o ../../libcrypto.a + +fips_test: top_fips_sha1test + -rm -rf ../testvectors/sha1/rsp + mkdir ../testvectors/sha1/rsp + ./fips_sha1test ../testvectors/sha1/req/sha.req > ../testvectors/sha1/rsp/sha.rsp + lint: lint -DLINT $(INCLUDES) $(SRC)>fluff