diff options
Diffstat (limited to 'src/lib/libssl/test/Makefile')
-rw-r--r-- | src/lib/libssl/test/Makefile | 43 |
1 files changed, 6 insertions, 37 deletions
diff --git a/src/lib/libssl/test/Makefile b/src/lib/libssl/test/Makefile index 09e6848764..3912f82427 100644 --- a/src/lib/libssl/test/Makefile +++ b/src/lib/libssl/test/Makefile | |||
@@ -61,7 +61,6 @@ ENGINETEST= enginetest | |||
61 | EVPTEST= evp_test | 61 | EVPTEST= evp_test |
62 | IGETEST= igetest | 62 | IGETEST= igetest |
63 | JPAKETEST= jpaketest | 63 | JPAKETEST= jpaketest |
64 | SRPTEST= srptest | ||
65 | ASN1TEST= asn1test | 64 | ASN1TEST= asn1test |
66 | 65 | ||
67 | TESTS= alltests | 66 | TESTS= alltests |
@@ -73,7 +72,7 @@ EXE= $(BNTEST)$(EXE_EXT) $(ECTEST)$(EXE_EXT) $(ECDSATEST)$(EXE_EXT) $(ECDHTEST) | |||
73 | $(MDC2TEST)$(EXE_EXT) $(RMDTEST)$(EXE_EXT) \ | 72 | $(MDC2TEST)$(EXE_EXT) $(RMDTEST)$(EXE_EXT) \ |
74 | $(RANDTEST)$(EXE_EXT) $(DHTEST)$(EXE_EXT) $(ENGINETEST)$(EXE_EXT) \ | 73 | $(RANDTEST)$(EXE_EXT) $(DHTEST)$(EXE_EXT) $(ENGINETEST)$(EXE_EXT) \ |
75 | $(BFTEST)$(EXE_EXT) $(CASTTEST)$(EXE_EXT) $(SSLTEST)$(EXE_EXT) $(EXPTEST)$(EXE_EXT) $(DSATEST)$(EXE_EXT) $(RSATEST)$(EXE_EXT) \ | 74 | $(BFTEST)$(EXE_EXT) $(CASTTEST)$(EXE_EXT) $(SSLTEST)$(EXE_EXT) $(EXPTEST)$(EXE_EXT) $(DSATEST)$(EXE_EXT) $(RSATEST)$(EXE_EXT) \ |
76 | $(EVPTEST)$(EXE_EXT) $(IGETEST)$(EXE_EXT) $(JPAKETEST)$(EXE_EXT) $(SRPTEST)$(EXE_EXT) \ | 75 | $(EVPTEST)$(EXE_EXT) $(IGETEST)$(EXE_EXT) $(JPAKETEST)$(EXE_EXT) \ |
77 | $(ASN1TEST)$(EXE_EXT) | 76 | $(ASN1TEST)$(EXE_EXT) |
78 | 77 | ||
79 | # $(METHTEST)$(EXE_EXT) | 78 | # $(METHTEST)$(EXE_EXT) |
@@ -94,7 +93,7 @@ SRC= $(BNTEST).c $(ECTEST).c $(ECDSATEST).c $(ECDHTEST).c $(IDEATEST).c \ | |||
94 | $(DESTEST).c $(SHATEST).c $(SHA1TEST).c $(MDC2TEST).c $(RMDTEST).c \ | 93 | $(DESTEST).c $(SHATEST).c $(SHA1TEST).c $(MDC2TEST).c $(RMDTEST).c \ |
95 | $(RANDTEST).c $(DHTEST).c $(ENGINETEST).c $(CASTTEST).c \ | 94 | $(RANDTEST).c $(DHTEST).c $(ENGINETEST).c $(CASTTEST).c \ |
96 | $(BFTEST).c $(SSLTEST).c $(DSATEST).c $(EXPTEST).c $(RSATEST).c \ | 95 | $(BFTEST).c $(SSLTEST).c $(DSATEST).c $(EXPTEST).c $(RSATEST).c \ |
97 | $(EVPTEST).c $(IGETEST).c $(JPAKETEST).c $(SRPTEST).c $(ASN1TEST).c | 96 | $(EVPTEST).c $(IGETEST).c $(JPAKETEST).c $(ASN1TEST).c |
98 | 97 | ||
99 | EXHEADER= | 98 | EXHEADER= |
100 | HEADER= $(EXHEADER) | 99 | HEADER= $(EXHEADER) |
@@ -137,7 +136,7 @@ alltests: \ | |||
137 | test_enc test_x509 test_rsa test_crl test_sid \ | 136 | test_enc test_x509 test_rsa test_crl test_sid \ |
138 | test_gen test_req test_pkcs7 test_verify test_dh test_dsa \ | 137 | test_gen test_req test_pkcs7 test_verify test_dh test_dsa \ |
139 | test_ss test_ca test_engine test_evp test_ssl test_tsa test_ige \ | 138 | test_ss test_ca test_engine test_evp test_ssl test_tsa test_ige \ |
140 | test_jpake test_srp test_cms | 139 | test_jpake test_cms |
141 | 140 | ||
142 | test_evp: | 141 | test_evp: |
143 | ../util/shlib_wrap.sh ./$(EVPTEST) evptests.txt | 142 | ../util/shlib_wrap.sh ./$(EVPTEST) evptests.txt |
@@ -275,9 +274,6 @@ test_engine: | |||
275 | test_ssl: keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \ | 274 | test_ssl: keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \ |
276 | intP1.ss intP2.ss | 275 | intP1.ss intP2.ss |
277 | @echo "test SSL protocol" | 276 | @echo "test SSL protocol" |
278 | @if [ -n "$(FIPSCANLIB)" ]; then \ | ||
279 | sh ./testfipsssl keyU.ss certU.ss certCA.ss; \ | ||
280 | fi | ||
281 | ../util/shlib_wrap.sh ./$(SSLTEST) -test_cipherlist | 277 | ../util/shlib_wrap.sh ./$(SSLTEST) -test_cipherlist |
282 | @sh ./testssl keyU.ss certU.ss certCA.ss | 278 | @sh ./testssl keyU.ss certU.ss certCA.ss |
283 | @sh ./testsslproxy keyP1.ss certP1.ss intP1.ss | 279 | @sh ./testsslproxy keyP1.ss certP1.ss intP1.ss |
@@ -314,10 +310,6 @@ test_cms: | |||
314 | @echo "CMS consistency test" | 310 | @echo "CMS consistency test" |
315 | $(PERL) cms-test.pl | 311 | $(PERL) cms-test.pl |
316 | 312 | ||
317 | test_srp: $(SRPTEST)$(EXE_EXT) | ||
318 | @echo "Test SRP" | ||
319 | ../util/shlib_wrap.sh ./srptest | ||
320 | |||
321 | lint: | 313 | lint: |
322 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 314 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
323 | 315 | ||
@@ -348,19 +340,7 @@ BUILD_CMD=shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \ | |||
348 | fi; \ | 340 | fi; \ |
349 | LIBRARIES="$(LIBSSL) $(LIBCRYPTO) $(LIBKRB5)"; \ | 341 | LIBRARIES="$(LIBSSL) $(LIBCRYPTO) $(LIBKRB5)"; \ |
350 | $(MAKE) -f $(TOP)/Makefile.shared -e \ | 342 | $(MAKE) -f $(TOP)/Makefile.shared -e \ |
351 | CC="$${CC}" APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \ | 343 | APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \ |
352 | LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \ | ||
353 | link_app.$${shlib_target} | ||
354 | |||
355 | FIPS_BUILD_CMD=shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \ | ||
356 | shlib_target="$(SHLIB_TARGET)"; \ | ||
357 | fi; \ | ||
358 | LIBRARIES="$(LIBSSL) $(LIBCRYPTO) $(LIBKRB5)"; \ | ||
359 | if [ -z "$(SHARED_LIBS)" -a -n "$(FIPSCANLIB)" ] ; then \ | ||
360 | FIPSLD_CC="$(CC)"; CC=$(FIPSDIR)/bin/fipsld; export CC FIPSLD_CC; \ | ||
361 | fi; \ | ||
362 | $(MAKE) -f $(TOP)/Makefile.shared -e \ | ||
363 | CC="$${CC}" APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \ | ||
364 | LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \ | 344 | LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \ |
365 | link_app.$${shlib_target} | 345 | link_app.$${shlib_target} |
366 | 346 | ||
@@ -443,7 +423,7 @@ $(METHTEST)$(EXE_EXT): $(METHTEST).o $(DLIBCRYPTO) | |||
443 | @target=$(METHTEST); $(BUILD_CMD) | 423 | @target=$(METHTEST); $(BUILD_CMD) |
444 | 424 | ||
445 | $(SSLTEST)$(EXE_EXT): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO) | 425 | $(SSLTEST)$(EXE_EXT): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO) |
446 | @target=$(SSLTEST); $(FIPS_BUILD_CMD) | 426 | @target=$(SSLTEST); $(BUILD_CMD) |
447 | 427 | ||
448 | $(ENGINETEST)$(EXE_EXT): $(ENGINETEST).o $(DLIBCRYPTO) | 428 | $(ENGINETEST)$(EXE_EXT): $(ENGINETEST).o $(DLIBCRYPTO) |
449 | @target=$(ENGINETEST); $(BUILD_CMD) | 429 | @target=$(ENGINETEST); $(BUILD_CMD) |
@@ -466,9 +446,6 @@ $(JPAKETEST)$(EXE_EXT): $(JPAKETEST).o $(DLIBCRYPTO) | |||
466 | $(ASN1TEST)$(EXE_EXT): $(ASN1TEST).o $(DLIBCRYPTO) | 446 | $(ASN1TEST)$(EXE_EXT): $(ASN1TEST).o $(DLIBCRYPTO) |
467 | @target=$(ASN1TEST); $(BUILD_CMD) | 447 | @target=$(ASN1TEST); $(BUILD_CMD) |
468 | 448 | ||
469 | $(SRPTEST)$(EXE_EXT): $(SRPTEST).o $(DLIBCRYPTO) | ||
470 | @target=$(SRPTEST); $(BUILD_CMD) | ||
471 | |||
472 | #$(AESTEST).o: $(AESTEST).c | 449 | #$(AESTEST).o: $(AESTEST).c |
473 | # $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c | 450 | # $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c |
474 | 451 | ||
@@ -692,13 +669,6 @@ shatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | |||
692 | shatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 669 | shatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
693 | shatest.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 670 | shatest.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
694 | shatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h shatest.c | 671 | shatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h shatest.c |
695 | srptest.o: ../include/openssl/bio.h ../include/openssl/bn.h | ||
696 | srptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
697 | srptest.o: ../include/openssl/err.h ../include/openssl/lhash.h | ||
698 | srptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
699 | srptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h | ||
700 | srptest.o: ../include/openssl/safestack.h ../include/openssl/srp.h | ||
701 | srptest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h srptest.c | ||
702 | ssltest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 672 | ssltest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
703 | ssltest.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 673 | ssltest.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
704 | ssltest.o: ../include/openssl/comp.h ../include/openssl/conf.h | 674 | ssltest.o: ../include/openssl/comp.h ../include/openssl/conf.h |
@@ -715,8 +685,7 @@ ssltest.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h | |||
715 | ssltest.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h | 685 | ssltest.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h |
716 | ssltest.o: ../include/openssl/pqueue.h ../include/openssl/rand.h | 686 | ssltest.o: ../include/openssl/pqueue.h ../include/openssl/rand.h |
717 | ssltest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 687 | ssltest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
718 | ssltest.o: ../include/openssl/sha.h ../include/openssl/srp.h | 688 | ssltest.o: ../include/openssl/sha.h ../include/openssl/ssl.h |
719 | ssltest.o: ../include/openssl/srtp.h ../include/openssl/ssl.h | ||
720 | ssltest.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h | 689 | ssltest.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h |
721 | ssltest.o: ../include/openssl/ssl3.h ../include/openssl/stack.h | 690 | ssltest.o: ../include/openssl/ssl3.h ../include/openssl/stack.h |
722 | ssltest.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h | 691 | ssltest.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h |