summaryrefslogtreecommitdiff
path: root/src/lib/libssl/test
diff options
context:
space:
mode:
authordjm <>2010-10-01 22:54:19 +0000
committerdjm <>2010-10-01 22:54:19 +0000
commit242690ab2a8e991b85b4735c4e0bac0ec7bd3481 (patch)
treea55c90bd6ea9329d2afb5540220340cadd107178 /src/lib/libssl/test
parent5d1f64994b96668ba794f5211364ed54dd7ee08d (diff)
downloadopenbsd-242690ab2a8e991b85b4735c4e0bac0ec7bd3481.tar.gz
openbsd-242690ab2a8e991b85b4735c4e0bac0ec7bd3481.tar.bz2
openbsd-242690ab2a8e991b85b4735c4e0bac0ec7bd3481.zip
import OpenSSL-1.0.0a
Diffstat (limited to 'src/lib/libssl/test')
-rw-r--r--src/lib/libssl/test/Makefile537
-rw-r--r--src/lib/libssl/test/maketests.com205
-rw-r--r--src/lib/libssl/test/tcrl.com4
-rw-r--r--src/lib/libssl/test/testca.com38
-rw-r--r--src/lib/libssl/test/testenc.com5
-rw-r--r--src/lib/libssl/test/testgen.com4
-rw-r--r--src/lib/libssl/test/tests.com46
-rw-r--r--src/lib/libssl/test/testss.com4
-rw-r--r--src/lib/libssl/test/testssl.com4
-rw-r--r--src/lib/libssl/test/testtsa.com248
-rw-r--r--src/lib/libssl/test/tpkcs7.com4
-rw-r--r--src/lib/libssl/test/tpkcs7d.com4
-rw-r--r--src/lib/libssl/test/treq.com4
-rw-r--r--src/lib/libssl/test/trsa.com4
-rw-r--r--src/lib/libssl/test/tsid.com4
-rw-r--r--src/lib/libssl/test/tverify.com78
-rw-r--r--src/lib/libssl/test/tx509.com4
17 files changed, 636 insertions, 561 deletions
diff --git a/src/lib/libssl/test/Makefile b/src/lib/libssl/test/Makefile
index 228ee368cd..3912f82427 100644
--- a/src/lib/libssl/test/Makefile
+++ b/src/lib/libssl/test/Makefile
@@ -5,7 +5,7 @@
5DIR= test 5DIR= test
6TOP= .. 6TOP= ..
7CC= cc 7CC= cc
8INCLUDES= -I$(TOP) -I../include $(KRB5_INCLUDES) -I$(TOP)/fips 8INCLUDES= -I$(TOP) -I../include $(KRB5_INCLUDES)
9CFLAG= -g 9CFLAG= -g
10MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) 10MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
11PERL= perl 11PERL= perl
@@ -27,7 +27,6 @@ DLIBCRYPTO= ../libcrypto.a
27DLIBSSL= ../libssl.a 27DLIBSSL= ../libssl.a
28LIBCRYPTO= -L.. -lcrypto 28LIBCRYPTO= -L.. -lcrypto
29LIBSSL= -L.. -lssl 29LIBSSL= -L.. -lssl
30LIBFIPS= -L.. -lfips
31 30
32BNTEST= bntest 31BNTEST= bntest
33ECTEST= ectest 32ECTEST= ectest
@@ -45,6 +44,7 @@ MD2TEST= md2test
45MD4TEST= md4test 44MD4TEST= md4test
46MD5TEST= md5test 45MD5TEST= md5test
47HMACTEST= hmactest 46HMACTEST= hmactest
47WPTEST= wp_test
48RC2TEST= rc2test 48RC2TEST= rc2test
49RC4TEST= rc4test 49RC4TEST= rc4test
50RC5TEST= rc5test 50RC5TEST= rc5test
@@ -60,66 +60,40 @@ RSATEST= rsa_test
60ENGINETEST= enginetest 60ENGINETEST= enginetest
61EVPTEST= evp_test 61EVPTEST= evp_test
62IGETEST= igetest 62IGETEST= igetest
63FIPS_SHATEST= fips_shatest 63JPAKETEST= jpaketest
64FIPS_DESTEST= fips_desmovs 64ASN1TEST= asn1test
65FIPS_RANDTEST= fips_randtest
66FIPS_AESTEST= fips_aesavs
67FIPS_HMACTEST= fips_hmactest
68FIPS_RSAVTEST= fips_rsavtest
69FIPS_RSASTEST= fips_rsastest
70FIPS_RSAGTEST= fips_rsagtest
71FIPS_DSATEST= fips_dsatest
72FIPS_DSSVS= fips_dssvs
73FIPS_RNGVS= fips_rngvs
74FIPS_TEST_SUITE=fips_test_suite
75 65
76TESTS= alltests 66TESTS= alltests
77 67
78EXE= $(BNTEST)$(EXE_EXT) $(ECTEST)$(EXE_EXT) $(ECDSATEST)$(EXE_EXT) $(ECDHTEST)$(EXE_EXT) $(IDEATEST)$(EXE_EXT) \ 68EXE= $(BNTEST)$(EXE_EXT) $(ECTEST)$(EXE_EXT) $(ECDSATEST)$(EXE_EXT) $(ECDHTEST)$(EXE_EXT) $(IDEATEST)$(EXE_EXT) \
79 $(MD2TEST)$(EXE_EXT) $(MD4TEST)$(EXE_EXT) $(MD5TEST)$(EXE_EXT) $(HMACTEST)$(EXE_EXT) \ 69 $(MD2TEST)$(EXE_EXT) $(MD4TEST)$(EXE_EXT) $(MD5TEST)$(EXE_EXT) $(HMACTEST)$(EXE_EXT) $(WPTEST)$(EXE_EXT) \
80 $(RC2TEST)$(EXE_EXT) $(RC4TEST)$(EXE_EXT) $(RC5TEST)$(EXE_EXT) \ 70 $(RC2TEST)$(EXE_EXT) $(RC4TEST)$(EXE_EXT) $(RC5TEST)$(EXE_EXT) \
81 $(DESTEST)$(EXE_EXT) $(SHATEST)$(EXE_EXT) $(SHA1TEST)$(EXE_EXT) $(SHA256TEST)$(EXE_EXT) $(SHA512TEST)$(EXE_EXT) \ 71 $(DESTEST)$(EXE_EXT) $(SHATEST)$(EXE_EXT) $(SHA1TEST)$(EXE_EXT) $(SHA256TEST)$(EXE_EXT) $(SHA512TEST)$(EXE_EXT) \
82 $(MDC2TEST)$(EXE_EXT) $(RMDTEST)$(EXE_EXT) \ 72 $(MDC2TEST)$(EXE_EXT) $(RMDTEST)$(EXE_EXT) \
83 $(RANDTEST)$(EXE_EXT) $(DHTEST)$(EXE_EXT) $(ENGINETEST)$(EXE_EXT) \ 73 $(RANDTEST)$(EXE_EXT) $(DHTEST)$(EXE_EXT) $(ENGINETEST)$(EXE_EXT) \
84 $(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) \
85 $(EVPTEST)$(EXE_EXT) $(IGETEST)$(EXE_EXT) \ 75 $(EVPTEST)$(EXE_EXT) $(IGETEST)$(EXE_EXT) $(JPAKETEST)$(EXE_EXT) \
86 $(FIPS_SHATEST)$(EXE_EXT) $(FIPS_DESTEST)$(EXE_EXT) \ 76 $(ASN1TEST)$(EXE_EXT)
87 $(FIPS_RANDTEST)$(EXE_EXT) $(FIPS_AESTEST)$(EXE_EXT) \
88 $(FIPS_HMACTEST)$(EXE_EXT) $(FIPS_RSAVTEST)$(EXE_EXT) \
89 $(FIPS_RSASTEST)$(EXE_EXT) $(FIPS_RSAGTEST)$(EXE_EXT) \
90 $(FIPS_DSSVS)$(EXE_EXT) $(FIPS_DSATEST)$(EXE_EXT) \
91 $(FIPS_RNGVS)$(EXE_EXT) $(FIPS_TEST_SUITE)$(EXE_EXT) jpaketest$(EXE_EXT)
92 77
93# $(METHTEST)$(EXE_EXT) 78# $(METHTEST)$(EXE_EXT)
94 79
95OBJ= $(BNTEST).o $(ECTEST).o $(ECDSATEST).o $(ECDHTEST).o $(IDEATEST).o \ 80OBJ= $(BNTEST).o $(ECTEST).o $(ECDSATEST).o $(ECDHTEST).o $(IDEATEST).o \
96 $(MD2TEST).o $(MD4TEST).o $(MD5TEST).o \ 81 $(MD2TEST).o $(MD4TEST).o $(MD5TEST).o \
97 $(HMACTEST).o \ 82 $(HMACTEST).o $(WPTEST).o \
98 $(RC2TEST).o $(RC4TEST).o $(RC5TEST).o \ 83 $(RC2TEST).o $(RC4TEST).o $(RC5TEST).o \
99 $(DESTEST).o $(SHATEST).o $(SHA1TEST).o $(SHA256TEST).o $(SHA512TEST).o \ 84 $(DESTEST).o $(SHATEST).o $(SHA1TEST).o $(SHA256TEST).o $(SHA512TEST).o \
100 $(MDC2TEST).o $(RMDTEST).o \ 85 $(MDC2TEST).o $(RMDTEST).o \
101 $(RANDTEST).o $(DHTEST).o $(ENGINETEST).o $(CASTTEST).o \ 86 $(RANDTEST).o $(DHTEST).o $(ENGINETEST).o $(CASTTEST).o \
102 $(BFTEST).o $(SSLTEST).o $(DSATEST).o $(EXPTEST).o $(RSATEST).o \ 87 $(BFTEST).o $(SSLTEST).o $(DSATEST).o $(EXPTEST).o $(RSATEST).o \
103 $(EVPTEST).o $(IGETEST).o \ 88 $(EVPTEST).o $(IGETEST).o $(JPAKETEST).o $(ASN1TEST).o
104 $(FIPS_SHATEST).o $(FIPS_DESTEST).o $(FIPS_RANDTEST).o \
105 $(FIPS_AESTEST).o $(FIPS_HMACTEST).o $(FIPS_RSAVTEST).o \
106 $(FIPS_RSASTEST).o $(FIPS_RSAGTEST).o \
107 $(FIPS_DSSVS).o $(FIPS_DSATEST).o $(FIPS_RNGVS).o $(FIPS_TEST_SUITE).o \
108 jpaketest.o
109
110SRC= $(BNTEST).c $(ECTEST).c $(ECDSATEST).c $(ECDHTEST).c $(IDEATEST).c \ 89SRC= $(BNTEST).c $(ECTEST).c $(ECDSATEST).c $(ECDHTEST).c $(IDEATEST).c \
111 $(MD2TEST).c $(MD4TEST).c $(MD5TEST).c \ 90 $(MD2TEST).c $(MD4TEST).c $(MD5TEST).c \
112 $(HMACTEST).c \ 91 $(HMACTEST).c $(WPTEST).c \
113 $(RC2TEST).c $(RC4TEST).c $(RC5TEST).c \ 92 $(RC2TEST).c $(RC4TEST).c $(RC5TEST).c \
114 $(DESTEST).c $(SHATEST).c $(SHA1TEST).c $(MDC2TEST).c $(RMDTEST).c \ 93 $(DESTEST).c $(SHATEST).c $(SHA1TEST).c $(MDC2TEST).c $(RMDTEST).c \
115 $(RANDTEST).c $(DHTEST).c $(ENGINETEST).c $(CASTTEST).c \ 94 $(RANDTEST).c $(DHTEST).c $(ENGINETEST).c $(CASTTEST).c \
116 $(BFTEST).c $(SSLTEST).c $(DSATEST).c $(EXPTEST).c $(RSATEST).c \ 95 $(BFTEST).c $(SSLTEST).c $(DSATEST).c $(EXPTEST).c $(RSATEST).c \
117 $(EVPTEST).c $(IGETEST).c \ 96 $(EVPTEST).c $(IGETEST).c $(JPAKETEST).c $(ASN1TEST).c
118 $(FIPS_SHATEST).c $(FIPS_DESTEST).c $(FIPS_RANDTEST).c \
119 $(FIPS_AESTEST).c $(FIPS_HMACTEST).c $(FIPS_RSAVTEST).c \
120 $(FIPS_RSASTEST).c $(FIPS_RSAGTEST).c \
121 $(FIPS_DSSVS).c $(FIPS_DSATEST).c $(FIPS_RNGVS).c $(FIPS_TEST_SUITE).c \
122 jpaketest.c
123 97
124EXHEADER= 98EXHEADER=
125HEADER= $(EXHEADER) 99HEADER= $(EXHEADER)
@@ -156,12 +130,13 @@ apps:
156 130
157alltests: \ 131alltests: \
158 test_des test_idea test_sha test_md4 test_md5 test_hmac \ 132 test_des test_idea test_sha test_md4 test_md5 test_hmac \
159 test_md2 test_mdc2 \ 133 test_md2 test_mdc2 test_wp \
160 test_rmd test_rc2 test_rc4 test_rc5 test_bf test_cast test_aes \ 134 test_rmd test_rc2 test_rc4 test_rc5 test_bf test_cast test_aes \
161 test_rand test_bn test_ec test_ecdsa test_ecdh \ 135 test_rand test_bn test_ec test_ecdsa test_ecdh \
162 test_enc test_x509 test_rsa test_crl test_sid \ 136 test_enc test_x509 test_rsa test_crl test_sid \
163 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 \
164 test_ss test_ca test_engine test_evp test_ssl test_ige test_jpake 138 test_ss test_ca test_engine test_evp test_ssl test_tsa test_ige \
139 test_jpake test_cms
165 140
166test_evp: 141test_evp:
167 ../util/shlib_wrap.sh ./$(EVPTEST) evptests.txt 142 ../util/shlib_wrap.sh ./$(EVPTEST) evptests.txt
@@ -177,9 +152,6 @@ test_sha:
177 ../util/shlib_wrap.sh ./$(SHA1TEST) 152 ../util/shlib_wrap.sh ./$(SHA1TEST)
178 ../util/shlib_wrap.sh ./$(SHA256TEST) 153 ../util/shlib_wrap.sh ./$(SHA256TEST)
179 ../util/shlib_wrap.sh ./$(SHA512TEST) 154 ../util/shlib_wrap.sh ./$(SHA512TEST)
180 if [ -n "$(FIPSCANLIB)" ]; then \
181 ../util/shlib_wrap.sh ./$(FIPS_SHATEST) < SHAmix.r | diff -w SHAmix.x - ; \
182 fi
183 155
184test_mdc2: 156test_mdc2:
185 ../util/shlib_wrap.sh ./$(MDC2TEST) 157 ../util/shlib_wrap.sh ./$(MDC2TEST)
@@ -193,6 +165,9 @@ test_md4:
193test_hmac: 165test_hmac:
194 ../util/shlib_wrap.sh ./$(HMACTEST) 166 ../util/shlib_wrap.sh ./$(HMACTEST)
195 167
168test_wp:
169 ../util/shlib_wrap.sh ./$(WPTEST)
170
196test_md2: 171test_md2:
197 ../util/shlib_wrap.sh ./$(MD2TEST) 172 ../util/shlib_wrap.sh ./$(MD2TEST)
198 173
@@ -216,12 +191,9 @@ test_rc5:
216 191
217test_rand: 192test_rand:
218 ../util/shlib_wrap.sh ./$(RANDTEST) 193 ../util/shlib_wrap.sh ./$(RANDTEST)
219 if [ -n "$(FIPSCANLIB)" ]; then \
220 ../util/shlib_wrap.sh ./$(FIPS_RANDTEST); \
221 fi
222 194
223test_enc: 195test_enc:
224 sh ./testenc 196 @sh ./testenc
225 197
226test_x509: 198test_x509:
227 echo test normal x509v1 certificate 199 echo test normal x509v1 certificate
@@ -283,9 +255,6 @@ test_dsa:
283 @echo "Generate a set of DSA parameters" 255 @echo "Generate a set of DSA parameters"
284 ../util/shlib_wrap.sh ./$(DSATEST) 256 ../util/shlib_wrap.sh ./$(DSATEST)
285 ../util/shlib_wrap.sh ./$(DSATEST) -app2_1 257 ../util/shlib_wrap.sh ./$(DSATEST) -app2_1
286 if [ -n "$(FIPSCANLIB)" ]; then \
287 ../util/shlib_wrap.sh ./$(FIPS_DSATEST); \
288 fi
289 258
290test_gen: 259test_gen:
291 @echo "Generate and verify a certificate request" 260 @echo "Generate and verify a certificate request"
@@ -305,9 +274,6 @@ test_engine:
305test_ssl: keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \ 274test_ssl: keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \
306 intP1.ss intP2.ss 275 intP1.ss intP2.ss
307 @echo "test SSL protocol" 276 @echo "test SSL protocol"
308 @if [ -n "$(FIPSCANLIB)" ]; then \
309 sh ./testfipsssl keyU.ss certU.ss certCA.ss; \
310 fi
311 ../util/shlib_wrap.sh ./$(SSLTEST) -test_cipherlist 277 ../util/shlib_wrap.sh ./$(SSLTEST) -test_cipherlist
312 @sh ./testssl keyU.ss certU.ss certCA.ss 278 @sh ./testssl keyU.ss certU.ss certCA.ss
313 @sh ./testsslproxy keyP1.ss certP1.ss intP1.ss 279 @sh ./testsslproxy keyP1.ss certP1.ss intP1.ss
@@ -325,13 +291,24 @@ test_aes: #$(AESTEST)
325# @echo "test Rijndael" 291# @echo "test Rijndael"
326# ../util/shlib_wrap.sh ./$(AESTEST) 292# ../util/shlib_wrap.sh ./$(AESTEST)
327 293
294test_tsa:
295 @if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then \
296 echo "skipping testtsa test -- requires RSA"; \
297 else \
298 sh ./testtsa; \
299 fi
300
328test_ige: $(IGETEST)$(EXE_EXT) 301test_ige: $(IGETEST)$(EXE_EXT)
329 @echo "Test IGE mode" 302 @echo "Test IGE mode"
330 ../util/shlib_wrap.sh ./$(IGETEST) 303 ../util/shlib_wrap.sh ./$(IGETEST)
331 304
332test_jpake: jpaketest$(EXE_EXT) 305test_jpake: $(JPAKETEST)$(EXE_EXT)
333 @echo "Test JPAKE" 306 @echo "Test JPAKE"
334 ../util/shlib_wrap.sh ./jpaketest 307 ../util/shlib_wrap.sh ./$(JPAKETEST)
308
309test_cms:
310 @echo "CMS consistency test"
311 $(PERL) cms-test.pl
335 312
336lint: 313lint:
337 lint -DLINT $(INCLUDES) $(SRC)>fluff 314 lint -DLINT $(INCLUDES) $(SRC)>fluff
@@ -346,9 +323,11 @@ depend:
346dclean: 323dclean:
347 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new 324 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
348 mv -f Makefile.new $(MAKEFILE) 325 mv -f Makefile.new $(MAKEFILE)
326 rm -f $(SRC) $(SHA256TEST).c $(SHA512TEST).c evptests.txt newkey.pem testkey.pem \
327 testreq.pem
349 328
350clean: 329clean:
351 rm -f .rnd tmp.bntest tmp.bctest *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff $(EXE) *.ss *.srl log dummytest 330 rm -f .rnd tmp.bntest tmp.bctest *.o *.obj *.dll lib tags core .pure .nfs* *.old *.bak fluff $(EXE) *.ss *.srl log dummytest
352 331
353$(DLIBSSL): 332$(DLIBSSL):
354 (cd ..; $(MAKE) DIRS=ssl all) 333 (cd ..; $(MAKE) DIRS=ssl all)
@@ -360,7 +339,6 @@ BUILD_CMD=shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
360 shlib_target="$(SHLIB_TARGET)"; \ 339 shlib_target="$(SHLIB_TARGET)"; \
361 fi; \ 340 fi; \
362 LIBRARIES="$(LIBSSL) $(LIBCRYPTO) $(LIBKRB5)"; \ 341 LIBRARIES="$(LIBSSL) $(LIBCRYPTO) $(LIBKRB5)"; \
363 [ "$(FIPSCANLIB)" = "libfips" ] && LIBRARIES="$$LIBRARIES -lfips"; \
364 $(MAKE) -f $(TOP)/Makefile.shared -e \ 342 $(MAKE) -f $(TOP)/Makefile.shared -e \
365 APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \ 343 APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \
366 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \ 344 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
@@ -396,71 +374,6 @@ $(SHA256TEST)$(EXE_EXT): $(SHA256TEST).o $(DLIBCRYPTO)
396$(SHA512TEST)$(EXE_EXT): $(SHA512TEST).o $(DLIBCRYPTO) 374$(SHA512TEST)$(EXE_EXT): $(SHA512TEST).o $(DLIBCRYPTO)
397 @target=$(SHA512TEST); $(BUILD_CMD) 375 @target=$(SHA512TEST); $(BUILD_CMD)
398 376
399FIPS_BUILD_CMD=shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
400 shlib_target="$(SHLIB_TARGET)"; \
401 fi; \
402 if [ "$(FIPSCANLIB)" = "libfips" ]; then \
403 LIBRARIES="-L$(TOP) -lfips"; \
404 elif [ -n "$(FIPSCANLIB)" ]; then \
405 FIPSLD_CC=$(CC); CC=$(TOP)/fips/fipsld; export CC FIPSLD_CC; \
406 LIBRARIES="$${FIPSLIBDIR:-$(TOP)/fips/}fipscanister.o"; \
407 else \
408 LIBRARIES="$(LIBCRYPTO)"; \
409 fi; \
410 $(MAKE) -f $(TOP)/Makefile.shared -e \
411 CC=$${CC} APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \
412 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
413 link_app.$${shlib_target}
414
415FIPS_CRYPTO_BUILD_CMD=shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
416 shlib_target="$(SHLIB_TARGET)"; \
417 fi; \
418 LIBRARIES="$(LIBSSL) $(LIBCRYPTO) $(LIBKRB5)"; \
419 if [ -z "$(SHARED_LIBS)" -a -n "$(FIPSCANLIB)" ] ; then \
420 FIPSLD_CC=$(CC); CC=$(TOP)/fips/fipsld; export CC FIPSLD_CC; \
421 fi; \
422 [ "$(FIPSCANLIB)" = "libfips" ] && LIBRARIES="$$LIBRARIES -lfips"; \
423 $(MAKE) -f $(TOP)/Makefile.shared -e \
424 CC=$${CC} APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \
425 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
426 link_app.$${shlib_target}
427
428$(FIPS_SHATEST)$(EXE_EXT): $(FIPS_SHATEST).o $(DLIBCRYPTO)
429 @target=$(FIPS_SHATEST); $(FIPS_BUILD_CMD)
430
431$(FIPS_AESTEST)$(EXE_EXT): $(FIPS_AESTEST).o $(DLIBCRYPTO)
432 @target=$(FIPS_AESTEST); $(FIPS_BUILD_CMD)
433
434$(FIPS_DESTEST)$(EXE_EXT): $(FIPS_DESTEST).o $(DLIBCRYPTO)
435 @target=$(FIPS_DESTEST); $(FIPS_BUILD_CMD)
436
437$(FIPS_HMACTEST)$(EXE_EXT): $(FIPS_HMACTEST).o $(DLIBCRYPTO)
438 @target=$(FIPS_HMACTEST); $(FIPS_BUILD_CMD)
439
440$(FIPS_RANDTEST)$(EXE_EXT): $(FIPS_RANDTEST).o $(DLIBCRYPTO)
441 @target=$(FIPS_RANDTEST); $(FIPS_BUILD_CMD)
442
443$(FIPS_RSAVTEST)$(EXE_EXT): $(FIPS_RSAVTEST).o $(DLIBCRYPTO)
444 @target=$(FIPS_RSAVTEST); $(FIPS_BUILD_CMD)
445
446$(FIPS_RSASTEST)$(EXE_EXT): $(FIPS_RSASTEST).o $(DLIBCRYPTO)
447 @target=$(FIPS_RSASTEST); $(FIPS_BUILD_CMD)
448
449$(FIPS_RSAGTEST)$(EXE_EXT): $(FIPS_RSAGTEST).o $(DLIBCRYPTO)
450 @target=$(FIPS_RSAGTEST); $(FIPS_BUILD_CMD)
451
452$(FIPS_DSATEST)$(EXE_EXT): $(FIPS_DSATEST).o $(DLIBCRYPTO)
453 @target=$(FIPS_DSATEST); $(FIPS_BUILD_CMD)
454
455$(FIPS_DSSVS)$(EXE_EXT): $(FIPS_DSSVS).o $(DLIBCRYPTO)
456 @target=$(FIPS_DSSVS); $(FIPS_BUILD_CMD)
457
458$(FIPS_RNGVS)$(EXE_EXT): $(FIPS_RNGVS).o $(DLIBCRYPTO)
459 @target=$(FIPS_RNGVS); $(FIPS_BUILD_CMD)
460
461$(FIPS_TEST_SUITE)$(EXE_EXT): $(FIPS_TEST_SUITE).o $(DLIBCRYPTO)
462 @target=$(FIPS_TEST_SUITE); $(FIPS_BUILD_CMD)
463
464$(RMDTEST)$(EXE_EXT): $(RMDTEST).o $(DLIBCRYPTO) 377$(RMDTEST)$(EXE_EXT): $(RMDTEST).o $(DLIBCRYPTO)
465 @target=$(RMDTEST); $(BUILD_CMD) 378 @target=$(RMDTEST); $(BUILD_CMD)
466 379
@@ -476,6 +389,9 @@ $(MD5TEST)$(EXE_EXT): $(MD5TEST).o $(DLIBCRYPTO)
476$(HMACTEST)$(EXE_EXT): $(HMACTEST).o $(DLIBCRYPTO) 389$(HMACTEST)$(EXE_EXT): $(HMACTEST).o $(DLIBCRYPTO)
477 @target=$(HMACTEST); $(BUILD_CMD) 390 @target=$(HMACTEST); $(BUILD_CMD)
478 391
392$(WPTEST)$(EXE_EXT): $(WPTEST).o $(DLIBCRYPTO)
393 @target=$(WPTEST); $(BUILD_CMD)
394
479$(RC2TEST)$(EXE_EXT): $(RC2TEST).o $(DLIBCRYPTO) 395$(RC2TEST)$(EXE_EXT): $(RC2TEST).o $(DLIBCRYPTO)
480 @target=$(RC2TEST); $(BUILD_CMD) 396 @target=$(RC2TEST); $(BUILD_CMD)
481 397
@@ -507,7 +423,7 @@ $(METHTEST)$(EXE_EXT): $(METHTEST).o $(DLIBCRYPTO)
507 @target=$(METHTEST); $(BUILD_CMD) 423 @target=$(METHTEST); $(BUILD_CMD)
508 424
509$(SSLTEST)$(EXE_EXT): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO) 425$(SSLTEST)$(EXE_EXT): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO)
510 @target=$(SSLTEST); $(FIPS_CRYPTO_BUILD_CMD) 426 @target=$(SSLTEST); $(BUILD_CMD)
511 427
512$(ENGINETEST)$(EXE_EXT): $(ENGINETEST).o $(DLIBCRYPTO) 428$(ENGINETEST)$(EXE_EXT): $(ENGINETEST).o $(DLIBCRYPTO)
513 @target=$(ENGINETEST); $(BUILD_CMD) 429 @target=$(ENGINETEST); $(BUILD_CMD)
@@ -524,8 +440,11 @@ $(ECDHTEST)$(EXE_EXT): $(ECDHTEST).o $(DLIBCRYPTO)
524$(IGETEST)$(EXE_EXT): $(IGETEST).o $(DLIBCRYPTO) 440$(IGETEST)$(EXE_EXT): $(IGETEST).o $(DLIBCRYPTO)
525 @target=$(IGETEST); $(BUILD_CMD) 441 @target=$(IGETEST); $(BUILD_CMD)
526 442
527jpaketest$(EXE_EXT): jpaketest.o $(DLIBCRYPTO) 443$(JPAKETEST)$(EXE_EXT): $(JPAKETEST).o $(DLIBCRYPTO)
528 @target=jpaketest; $(BUILD_CMD) 444 @target=$(JPAKETEST); $(BUILD_CMD)
445
446$(ASN1TEST)$(EXE_EXT): $(ASN1TEST).o $(DLIBCRYPTO)
447 @target=$(ASN1TEST); $(BUILD_CMD)
529 448
530#$(AESTEST).o: $(AESTEST).c 449#$(AESTEST).o: $(AESTEST).c
531# $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c 450# $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c
@@ -538,10 +457,22 @@ jpaketest$(EXE_EXT): jpaketest.o $(DLIBCRYPTO)
538# fi 457# fi
539 458
540dummytest$(EXE_EXT): dummytest.o $(DLIBCRYPTO) 459dummytest$(EXE_EXT): dummytest.o $(DLIBCRYPTO)
541 @target=dummytest$; $(BUILD_CMD) 460 @target=dummytest; $(BUILD_CMD)
542 461
543# DO NOT DELETE THIS LINE -- make depend depends on it. 462# DO NOT DELETE THIS LINE -- make depend depends on it.
544 463
464asn1test.o: ../include/openssl/asn1.h ../include/openssl/asn1_mac.h
465asn1test.o: ../include/openssl/bio.h ../include/openssl/buffer.h
466asn1test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
467asn1test.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
468asn1test.o: ../include/openssl/ecdsa.h ../include/openssl/evp.h
469asn1test.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
470asn1test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
471asn1test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
472asn1test.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h
473asn1test.o: ../include/openssl/sha.h ../include/openssl/stack.h
474asn1test.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
475asn1test.o: ../include/openssl/x509_vfy.h asn1test.c
545bftest.o: ../e_os.h ../include/openssl/blowfish.h ../include/openssl/e_os2.h 476bftest.o: ../e_os.h ../include/openssl/blowfish.h ../include/openssl/e_os2.h
546bftest.o: ../include/openssl/opensslconf.h bftest.c 477bftest.o: ../include/openssl/opensslconf.h bftest.c
547bntest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h 478bntest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
@@ -550,15 +481,14 @@ bntest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
550bntest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h 481bntest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
551bntest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h 482bntest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
552bntest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h 483bntest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h
553bntest.o: ../include/openssl/evp.h ../include/openssl/fips.h 484bntest.o: ../include/openssl/evp.h ../include/openssl/lhash.h
554bntest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h 485bntest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
555bntest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h 486bntest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
556bntest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h 487bntest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
557bntest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h 488bntest.o: ../include/openssl/rand.h ../include/openssl/rsa.h
558bntest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h 489bntest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
559bntest.o: ../include/openssl/sha.h ../include/openssl/stack.h 490bntest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
560bntest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h 491bntest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h bntest.c
561bntest.o: ../include/openssl/x509_vfy.h bntest.c
562casttest.o: ../e_os.h ../include/openssl/cast.h ../include/openssl/e_os2.h 492casttest.o: ../e_os.h ../include/openssl/cast.h ../include/openssl/e_os2.h
563casttest.o: ../include/openssl/opensslconf.h casttest.c 493casttest.o: ../include/openssl/opensslconf.h casttest.c
564destest.o: ../include/openssl/des.h ../include/openssl/des_old.h 494destest.o: ../include/openssl/des.h ../include/openssl/des_old.h
@@ -597,54 +527,53 @@ ecdsatest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
597ecdsatest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h 527ecdsatest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
598ecdsatest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h 528ecdsatest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
599ecdsatest.o: ../include/openssl/err.h ../include/openssl/evp.h 529ecdsatest.o: ../include/openssl/err.h ../include/openssl/evp.h
600ecdsatest.o: ../include/openssl/fips.h ../include/openssl/lhash.h 530ecdsatest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
601ecdsatest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h 531ecdsatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
602ecdsatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 532ecdsatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
603ecdsatest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h 533ecdsatest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
604ecdsatest.o: ../include/openssl/rand.h ../include/openssl/safestack.h 534ecdsatest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
605ecdsatest.o: ../include/openssl/sha.h ../include/openssl/stack.h 535ecdsatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
606ecdsatest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h 536ecdsatest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
607ecdsatest.o: ../include/openssl/x509_vfy.h ecdsatest.c 537ecdsatest.o: ecdsatest.c
608ectest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h 538ectest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
609ectest.o: ../include/openssl/bn.h ../include/openssl/buffer.h 539ectest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
610ectest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h 540ectest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
611ectest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h 541ectest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
612ectest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h 542ectest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
613ectest.o: ../include/openssl/err.h ../include/openssl/evp.h 543ectest.o: ../include/openssl/err.h ../include/openssl/evp.h
614ectest.o: ../include/openssl/fips.h ../include/openssl/lhash.h 544ectest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
615ectest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h 545ectest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
616ectest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 546ectest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
617ectest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h 547ectest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
618ectest.o: ../include/openssl/rand.h ../include/openssl/safestack.h 548ectest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
619ectest.o: ../include/openssl/sha.h ../include/openssl/stack.h 549ectest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
620ectest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h 550ectest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h ectest.c
621ectest.o: ../include/openssl/x509_vfy.h ectest.c
622enginetest.o: ../include/openssl/asn1.h ../include/openssl/bio.h 551enginetest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
623enginetest.o: ../include/openssl/buffer.h ../include/openssl/crypto.h 552enginetest.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
624enginetest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h 553enginetest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
625enginetest.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h 554enginetest.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
626enginetest.o: ../include/openssl/engine.h ../include/openssl/err.h 555enginetest.o: ../include/openssl/engine.h ../include/openssl/err.h
627enginetest.o: ../include/openssl/evp.h ../include/openssl/fips.h 556enginetest.o: ../include/openssl/evp.h ../include/openssl/lhash.h
628enginetest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h 557enginetest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
629enginetest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h 558enginetest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
630enginetest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h 559enginetest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
631enginetest.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h 560enginetest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
632enginetest.o: ../include/openssl/sha.h ../include/openssl/stack.h 561enginetest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
633enginetest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h 562enginetest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
634enginetest.o: ../include/openssl/x509_vfy.h enginetest.c 563enginetest.o: enginetest.c
635evp_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h 564evp_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
636evp_test.o: ../include/openssl/buffer.h ../include/openssl/conf.h 565evp_test.o: ../include/openssl/buffer.h ../include/openssl/conf.h
637evp_test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h 566evp_test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
638evp_test.o: ../include/openssl/ec.h ../include/openssl/ecdh.h 567evp_test.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
639evp_test.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h 568evp_test.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
640evp_test.o: ../include/openssl/err.h ../include/openssl/evp.h 569evp_test.o: ../include/openssl/err.h ../include/openssl/evp.h
641evp_test.o: ../include/openssl/fips.h ../include/openssl/lhash.h 570evp_test.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
642evp_test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h 571evp_test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
643evp_test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 572evp_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
644evp_test.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h 573evp_test.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h
645evp_test.o: ../include/openssl/safestack.h ../include/openssl/sha.h 574evp_test.o: ../include/openssl/sha.h ../include/openssl/stack.h
646evp_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h 575evp_test.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
647evp_test.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h evp_test.c 576evp_test.o: ../include/openssl/x509_vfy.h evp_test.c
648exptest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h 577exptest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
649exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h 578exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
650exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h 579exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h
@@ -652,186 +581,14 @@ exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
652exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h 581exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
653exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h 582exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
654exptest.o: ../include/openssl/symhacks.h exptest.c 583exptest.o: ../include/openssl/symhacks.h exptest.c
655fips_aesavs.o: ../e_os.h ../fips/fips_utl.h ../include/openssl/aes.h
656fips_aesavs.o: ../include/openssl/asn1.h ../include/openssl/bio.h
657fips_aesavs.o: ../include/openssl/bn.h ../include/openssl/crypto.h
658fips_aesavs.o: ../include/openssl/e_os2.h ../include/openssl/err.h
659fips_aesavs.o: ../include/openssl/evp.h ../include/openssl/fips.h
660fips_aesavs.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
661fips_aesavs.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
662fips_aesavs.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
663fips_aesavs.o: ../include/openssl/safestack.h ../include/openssl/stack.h
664fips_aesavs.o: ../include/openssl/symhacks.h fips_aesavs.c
665fips_desmovs.o: ../e_os.h ../fips/fips_utl.h ../include/openssl/asn1.h
666fips_desmovs.o: ../include/openssl/bio.h ../include/openssl/bn.h
667fips_desmovs.o: ../include/openssl/crypto.h ../include/openssl/des.h
668fips_desmovs.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h
669fips_desmovs.o: ../include/openssl/err.h ../include/openssl/evp.h
670fips_desmovs.o: ../include/openssl/fips.h ../include/openssl/lhash.h
671fips_desmovs.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
672fips_desmovs.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
673fips_desmovs.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
674fips_desmovs.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
675fips_desmovs.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h
676fips_desmovs.o: fips_desmovs.c
677fips_dsatest.o: ../e_os.h ../fips/fips_utl.h ../include/openssl/asn1.h
678fips_dsatest.o: ../include/openssl/bio.h ../include/openssl/bn.h
679fips_dsatest.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
680fips_dsatest.o: ../include/openssl/des.h ../include/openssl/des_old.h
681fips_dsatest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
682fips_dsatest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
683fips_dsatest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
684fips_dsatest.o: ../include/openssl/err.h ../include/openssl/evp.h
685fips_dsatest.o: ../include/openssl/fips.h ../include/openssl/fips_rand.h
686fips_dsatest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
687fips_dsatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
688fips_dsatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
689fips_dsatest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
690fips_dsatest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
691fips_dsatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
692fips_dsatest.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h
693fips_dsatest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
694fips_dsatest.o: fips_dsatest.c
695fips_dssvs.o: ../fips/fips_utl.h ../include/openssl/asn1.h
696fips_dssvs.o: ../include/openssl/bio.h ../include/openssl/bn.h
697fips_dssvs.o: ../include/openssl/crypto.h ../include/openssl/dsa.h
698fips_dssvs.o: ../include/openssl/e_os2.h ../include/openssl/err.h
699fips_dssvs.o: ../include/openssl/evp.h ../include/openssl/fips.h
700fips_dssvs.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
701fips_dssvs.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
702fips_dssvs.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
703fips_dssvs.o: ../include/openssl/safestack.h ../include/openssl/stack.h
704fips_dssvs.o: ../include/openssl/symhacks.h fips_dssvs.c
705fips_hmactest.o: ../fips/fips_utl.h ../include/openssl/asn1.h
706fips_hmactest.o: ../include/openssl/bio.h ../include/openssl/bn.h
707fips_hmactest.o: ../include/openssl/buffer.h ../include/openssl/conf.h
708fips_hmactest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
709fips_hmactest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
710fips_hmactest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h
711fips_hmactest.o: ../include/openssl/evp.h ../include/openssl/fips.h
712fips_hmactest.o: ../include/openssl/hmac.h ../include/openssl/lhash.h
713fips_hmactest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
714fips_hmactest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
715fips_hmactest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
716fips_hmactest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
717fips_hmactest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
718fips_hmactest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
719fips_hmactest.o: ../include/openssl/x509v3.h fips_hmactest.c
720fips_randtest.o: ../e_os.h ../fips/fips_utl.h ../include/openssl/bio.h
721fips_randtest.o: ../include/openssl/bn.h ../include/openssl/crypto.h
722fips_randtest.o: ../include/openssl/des.h ../include/openssl/des_old.h
723fips_randtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h
724fips_randtest.o: ../include/openssl/fips_rand.h ../include/openssl/lhash.h
725fips_randtest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
726fips_randtest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
727fips_randtest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
728fips_randtest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
729fips_randtest.o: ../include/openssl/ui_compat.h fips_randtest.c
730fips_rngvs.o: ../fips/fips_utl.h ../include/openssl/asn1.h
731fips_rngvs.o: ../include/openssl/bio.h ../include/openssl/bn.h
732fips_rngvs.o: ../include/openssl/buffer.h ../include/openssl/conf.h
733fips_rngvs.o: ../include/openssl/crypto.h ../include/openssl/des.h
734fips_rngvs.o: ../include/openssl/des_old.h ../include/openssl/dsa.h
735fips_rngvs.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
736fips_rngvs.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
737fips_rngvs.o: ../include/openssl/err.h ../include/openssl/evp.h
738fips_rngvs.o: ../include/openssl/fips.h ../include/openssl/fips_rand.h
739fips_rngvs.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
740fips_rngvs.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
741fips_rngvs.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
742fips_rngvs.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
743fips_rngvs.o: ../include/openssl/safestack.h ../include/openssl/sha.h
744fips_rngvs.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
745fips_rngvs.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h
746fips_rngvs.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
747fips_rngvs.o: ../include/openssl/x509v3.h fips_rngvs.c
748fips_rsagtest.o: ../fips/fips_utl.h ../include/openssl/asn1.h
749fips_rsagtest.o: ../include/openssl/bio.h ../include/openssl/bn.h
750fips_rsagtest.o: ../include/openssl/buffer.h ../include/openssl/conf.h
751fips_rsagtest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
752fips_rsagtest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
753fips_rsagtest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h
754fips_rsagtest.o: ../include/openssl/evp.h ../include/openssl/fips.h
755fips_rsagtest.o: ../include/openssl/hmac.h ../include/openssl/lhash.h
756fips_rsagtest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
757fips_rsagtest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
758fips_rsagtest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
759fips_rsagtest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
760fips_rsagtest.o: ../include/openssl/sha.h ../include/openssl/stack.h
761fips_rsagtest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
762fips_rsagtest.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h
763fips_rsagtest.o: fips_rsagtest.c
764fips_rsastest.o: ../fips/fips_utl.h ../include/openssl/asn1.h
765fips_rsastest.o: ../include/openssl/bio.h ../include/openssl/bn.h
766fips_rsastest.o: ../include/openssl/buffer.h ../include/openssl/conf.h
767fips_rsastest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
768fips_rsastest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
769fips_rsastest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h
770fips_rsastest.o: ../include/openssl/evp.h ../include/openssl/fips.h
771fips_rsastest.o: ../include/openssl/hmac.h ../include/openssl/lhash.h
772fips_rsastest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
773fips_rsastest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
774fips_rsastest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
775fips_rsastest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
776fips_rsastest.o: ../include/openssl/sha.h ../include/openssl/stack.h
777fips_rsastest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
778fips_rsastest.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h
779fips_rsastest.o: fips_rsastest.c
780fips_rsavtest.o: ../fips/fips_utl.h ../include/openssl/asn1.h
781fips_rsavtest.o: ../include/openssl/bio.h ../include/openssl/bn.h
782fips_rsavtest.o: ../include/openssl/buffer.h ../include/openssl/conf.h
783fips_rsavtest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
784fips_rsavtest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
785fips_rsavtest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h
786fips_rsavtest.o: ../include/openssl/evp.h ../include/openssl/fips.h
787fips_rsavtest.o: ../include/openssl/hmac.h ../include/openssl/lhash.h
788fips_rsavtest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
789fips_rsavtest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
790fips_rsavtest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
791fips_rsavtest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
792fips_rsavtest.o: ../include/openssl/sha.h ../include/openssl/stack.h
793fips_rsavtest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
794fips_rsavtest.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h
795fips_rsavtest.o: fips_rsavtest.c
796fips_shatest.o: ../fips/fips_utl.h ../include/openssl/asn1.h
797fips_shatest.o: ../include/openssl/bio.h ../include/openssl/bn.h
798fips_shatest.o: ../include/openssl/buffer.h ../include/openssl/conf.h
799fips_shatest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
800fips_shatest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
801fips_shatest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h
802fips_shatest.o: ../include/openssl/evp.h ../include/openssl/fips.h
803fips_shatest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
804fips_shatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
805fips_shatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
806fips_shatest.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h
807fips_shatest.o: ../include/openssl/sha.h ../include/openssl/stack.h
808fips_shatest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
809fips_shatest.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h
810fips_shatest.o: fips_shatest.c
811fips_test_suite.o: ../fips/fips_utl.h ../include/openssl/aes.h
812fips_test_suite.o: ../include/openssl/asn1.h ../include/openssl/bio.h
813fips_test_suite.o: ../include/openssl/bn.h ../include/openssl/crypto.h
814fips_test_suite.o: ../include/openssl/des.h ../include/openssl/des_old.h
815fips_test_suite.o: ../include/openssl/dh.h ../include/openssl/dsa.h
816fips_test_suite.o: ../include/openssl/e_os2.h ../include/openssl/err.h
817fips_test_suite.o: ../include/openssl/evp.h ../include/openssl/fips.h
818fips_test_suite.o: ../include/openssl/hmac.h ../include/openssl/lhash.h
819fips_test_suite.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
820fips_test_suite.o: ../include/openssl/opensslconf.h
821fips_test_suite.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
822fips_test_suite.o: ../include/openssl/rand.h ../include/openssl/rsa.h
823fips_test_suite.o: ../include/openssl/safestack.h ../include/openssl/sha.h
824fips_test_suite.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
825fips_test_suite.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h
826fips_test_suite.o: fips_test_suite.c
827hmactest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h 584hmactest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
828hmactest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h 585hmactest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
829hmactest.o: ../include/openssl/evp.h ../include/openssl/fips.h 586hmactest.o: ../include/openssl/evp.h ../include/openssl/hmac.h
830hmactest.o: ../include/openssl/hmac.h ../include/openssl/md5.h 587hmactest.o: ../include/openssl/md5.h ../include/openssl/obj_mac.h
831hmactest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h 588hmactest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
832hmactest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 589hmactest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
833hmactest.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h 590hmactest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
834hmactest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h hmactest.c 591hmactest.o: ../include/openssl/symhacks.h hmactest.c
835ideatest.o: ../e_os.h ../include/openssl/e_os2.h ../include/openssl/idea.h 592ideatest.o: ../e_os.h ../include/openssl/e_os2.h ../include/openssl/idea.h
836ideatest.o: ../include/openssl/opensslconf.h ideatest.c 593ideatest.o: ../include/openssl/opensslconf.h ideatest.c
837igetest.o: ../include/openssl/aes.h ../include/openssl/e_os2.h 594igetest.o: ../include/openssl/aes.h ../include/openssl/e_os2.h
@@ -842,35 +599,34 @@ jpaketest.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h
842jpaketest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h 599jpaketest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
843jpaketest.o: ../include/openssl/safestack.h ../include/openssl/stack.h 600jpaketest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
844jpaketest.o: ../include/openssl/symhacks.h jpaketest.c 601jpaketest.o: ../include/openssl/symhacks.h jpaketest.c
845md2test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h 602md2test.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
846md2test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h 603md2test.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h
847md2test.o: ../include/openssl/evp.h ../include/openssl/fips.h
848md2test.o: ../include/openssl/md2.h ../include/openssl/obj_mac.h
849md2test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
850md2test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h 604md2test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
851md2test.o: ../include/openssl/safestack.h ../include/openssl/stack.h 605md2test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
852md2test.o: ../include/openssl/symhacks.h md2test.c 606md2test.o: ../include/openssl/symhacks.h md2test.c
853md4test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h 607md4test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
854md4test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h 608md4test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
855md4test.o: ../include/openssl/evp.h ../include/openssl/fips.h 609md4test.o: ../include/openssl/evp.h ../include/openssl/md4.h
856md4test.o: ../include/openssl/md4.h ../include/openssl/obj_mac.h 610md4test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
857md4test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h 611md4test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
858md4test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h 612md4test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
859md4test.o: ../include/openssl/safestack.h ../include/openssl/stack.h 613md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h md4test.c
860md4test.o: ../include/openssl/symhacks.h md4test.c
861md5test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h 614md5test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
862md5test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h 615md5test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
863md5test.o: ../include/openssl/evp.h ../include/openssl/fips.h 616md5test.o: ../include/openssl/evp.h ../include/openssl/md5.h
864md5test.o: ../include/openssl/md5.h ../include/openssl/obj_mac.h 617md5test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
865md5test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h 618md5test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
866md5test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h 619md5test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
867md5test.o: ../include/openssl/safestack.h ../include/openssl/stack.h 620md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h md5test.c
868md5test.o: ../include/openssl/symhacks.h md5test.c 621mdc2test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
869mdc2test.o: ../include/openssl/buffer.h ../include/openssl/crypto.h 622mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h
870mdc2test.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h 623mdc2test.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h
871mdc2test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h 624mdc2test.o: ../include/openssl/evp.h ../include/openssl/mdc2.h
872mdc2test.o: ../include/openssl/safestack.h ../include/openssl/stack.h 625mdc2test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
873mdc2test.o: ../include/openssl/symhacks.h mdc2test.c 626mdc2test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
627mdc2test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
628mdc2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
629mdc2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c
874randtest.o: ../e_os.h ../include/openssl/e_os2.h 630randtest.o: ../e_os.h ../include/openssl/e_os2.h
875randtest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h 631randtest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h
876randtest.o: ../include/openssl/rand.h randtest.c 632randtest.o: ../include/openssl/rand.h randtest.c
@@ -886,12 +642,11 @@ rc5test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
886rc5test.o: ../include/openssl/symhacks.h rc5test.c 642rc5test.o: ../include/openssl/symhacks.h rc5test.c
887rmdtest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h 643rmdtest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
888rmdtest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h 644rmdtest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
889rmdtest.o: ../include/openssl/evp.h ../include/openssl/fips.h 645rmdtest.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h
890rmdtest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h 646rmdtest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
891rmdtest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 647rmdtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
892rmdtest.o: ../include/openssl/ossl_typ.h ../include/openssl/ripemd.h 648rmdtest.o: ../include/openssl/ripemd.h ../include/openssl/safestack.h
893rmdtest.o: ../include/openssl/safestack.h ../include/openssl/stack.h 649rmdtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h rmdtest.c
894rmdtest.o: ../include/openssl/symhacks.h rmdtest.c
895rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h 650rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
896rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h 651rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h
897rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/err.h 652rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/err.h
@@ -902,20 +657,18 @@ rsa_test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
902rsa_test.o: ../include/openssl/symhacks.h rsa_test.c 657rsa_test.o: ../include/openssl/symhacks.h rsa_test.c
903sha1test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h 658sha1test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
904sha1test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h 659sha1test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
905sha1test.o: ../include/openssl/evp.h ../include/openssl/fips.h 660sha1test.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h
906sha1test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h 661sha1test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
907sha1test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 662sha1test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
908sha1test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h 663sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
909sha1test.o: ../include/openssl/sha.h ../include/openssl/stack.h 664sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h sha1test.c
910sha1test.o: ../include/openssl/symhacks.h sha1test.c
911shatest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h 665shatest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
912shatest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h 666shatest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
913shatest.o: ../include/openssl/evp.h ../include/openssl/fips.h 667shatest.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h
914shatest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h 668shatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
915shatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h 669shatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
916shatest.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h 670shatest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
917shatest.o: ../include/openssl/sha.h ../include/openssl/stack.h 671shatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h shatest.c
918shatest.o: ../include/openssl/symhacks.h shatest.c
919ssltest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h 672ssltest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
920ssltest.o: ../include/openssl/bn.h ../include/openssl/buffer.h 673ssltest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
921ssltest.o: ../include/openssl/comp.h ../include/openssl/conf.h 674ssltest.o: ../include/openssl/comp.h ../include/openssl/conf.h
@@ -924,13 +677,12 @@ ssltest.o: ../include/openssl/dsa.h ../include/openssl/dtls1.h
924ssltest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h 677ssltest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
925ssltest.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h 678ssltest.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
926ssltest.o: ../include/openssl/engine.h ../include/openssl/err.h 679ssltest.o: ../include/openssl/engine.h ../include/openssl/err.h
927ssltest.o: ../include/openssl/evp.h ../include/openssl/fips.h 680ssltest.o: ../include/openssl/evp.h ../include/openssl/hmac.h
928ssltest.o: ../include/openssl/hmac.h ../include/openssl/kssl.h 681ssltest.o: ../include/openssl/kssl.h ../include/openssl/lhash.h
929ssltest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h 682ssltest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
930ssltest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h 683ssltest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
931ssltest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h 684ssltest.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h
932ssltest.o: ../include/openssl/pem.h ../include/openssl/pem2.h 685ssltest.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h
933ssltest.o: ../include/openssl/pkcs7.h ../include/openssl/pq_compat.h
934ssltest.o: ../include/openssl/pqueue.h ../include/openssl/rand.h 686ssltest.o: ../include/openssl/pqueue.h ../include/openssl/rand.h
935ssltest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h 687ssltest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
936ssltest.o: ../include/openssl/sha.h ../include/openssl/ssl.h 688ssltest.o: ../include/openssl/sha.h ../include/openssl/ssl.h
@@ -939,3 +691,8 @@ ssltest.o: ../include/openssl/ssl3.h ../include/openssl/stack.h
939ssltest.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h 691ssltest.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h
940ssltest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h 692ssltest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
941ssltest.o: ../include/openssl/x509v3.h ssltest.c 693ssltest.o: ../include/openssl/x509v3.h ssltest.c
694wp_test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
695wp_test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
696wp_test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
697wp_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
698wp_test.o: ../include/openssl/whrlpool.h wp_test.c
diff --git a/src/lib/libssl/test/maketests.com b/src/lib/libssl/test/maketests.com
index 14cbf06088..ca072f1d11 100644
--- a/src/lib/libssl/test/maketests.com
+++ b/src/lib/libssl/test/maketests.com
@@ -12,9 +12,9 @@ $! "test" programs for the different types of encryption for OpenSSL.
12$! It was written so it would try to determine what "C" compiler to 12$! It was written so it would try to determine what "C" compiler to
13$! use or you can specify which "C" compiler to use. 13$! use or you can specify which "C" compiler to use.
14$! 14$!
15$! The test "executeables" will be placed in a directory called 15$! The test "executables" will be placed in a directory called
16$! [.xxx.EXE.TEST] where "xxx" denotes AXP or VAX depending on your machines 16$! [.xxx.EXE.TEST] where "xxx" denotes ALPHA, IA64, or VAX, depending
17$! architecture. 17$! on your machine architecture.
18$! 18$!
19$! Specify DEBUG or NODEBUG P1 to compile with or without debugger 19$! Specify DEBUG or NODEBUG P1 to compile with or without debugger
20$! information. 20$! information.
@@ -44,24 +44,19 @@ $ TCPIP_LIB = ""
44$! 44$!
45$! Check Which Architecture We Are Using. 45$! Check Which Architecture We Are Using.
46$! 46$!
47$ IF (F$GETSYI("CPU").GE.128) 47$ if (f$getsyi( "HW_MODEL") .lt. 1024)
48$ THEN 48$ then
49$! 49$ arch = "VAX"
50$! The Architecture Is AXP. 50$ else
51$! 51$ arch = ""
52$ ARCH := AXP 52$ arch = arch+ f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
53$! 53$ if (arch .eqs. "") then arch = "UNK"
54$! Else... 54$ endif
55$!
56$ ELSE
57$!
58$! The Architecture Is VAX.
59$!
60$ ARCH := VAX
61$! 55$!
62$! End The Architecture Check. 56$! Define The OBJ and EXE Directories (EXE before CHECK_OPTIONS).
63$! 57$!
64$ ENDIF 58$ OBJ_DIR := SYS$DISK:[-.'ARCH'.OBJ.TEST]
59$ EXE_DIR := SYS$DISK:[-.'ARCH'.EXE.TEST]
65$! 60$!
66$! Check To Make Sure We Have Valid Command Line Parameters. 61$! Check To Make Sure We Have Valid Command Line Parameters.
67$! 62$!
@@ -73,7 +68,7 @@ $ GOSUB INITIALISE
73$! 68$!
74$! Tell The User What Kind of Machine We Run On. 69$! Tell The User What Kind of Machine We Run On.
75$! 70$!
76$ WRITE SYS$OUTPUT "Compiling On A ",ARCH," Machine." 71$ WRITE SYS$OUTPUT "Compiling On ''ARCH'."
77$! 72$!
78$! Define The CRYPTO-LIB We Are To Use. 73$! Define The CRYPTO-LIB We Are To Use.
79$! 74$!
@@ -83,39 +78,12 @@ $! Define The SSL We Are To Use.
83$! 78$!
84$ SSL_LIB := SYS$DISK:[-.'ARCH'.EXE.SSL]LIBSSL.OLB 79$ SSL_LIB := SYS$DISK:[-.'ARCH'.EXE.SSL]LIBSSL.OLB
85$! 80$!
86$! Define The OBJ Directory. 81$! Create the OBJ and EXE Directories, if needed.
87$!
88$ OBJ_DIR := SYS$DISK:[-.'ARCH'.OBJ.TEST]
89$!
90$! Check To See If The Architecture Specific OBJ Directory Exists.
91$!
92$ IF (F$PARSE(OBJ_DIR).EQS."")
93$ THEN
94$!
95$! The EXE Directory Dosen't Exist, So Create It.
96$!
97$ CREATE/DIRECTORY 'OBJ_DIR'
98$!
99$! End The Architecture Specific OBJ Directory Check.
100$!
101$ ENDIF
102$! 82$!
103$! Define The EXE Directory. 83$ IF (F$PARSE(OBJ_DIR).EQS."") THEN -
104$! 84 CREATE /DIRECTORY 'OBJ_DIR'
105$ EXE_DIR := SYS$DISK:[-.'ARCH'.EXE.TEST] 85$ IF (F$PARSE(EXE_DIR).EQS."") THEN -
106$! 86 CREATE /DIRECTORY 'EXE_DIR'
107$! Check To See If The Architecture Specific EXE Directory Exists.
108$!
109$ IF (F$PARSE(EXE_DIR).EQS."")
110$ THEN
111$!
112$! The EXE Directory Dosen't Exist, So Create It.
113$!
114$ CREATE/DIRECTORY 'EXE_DIR'
115$!
116$! End The Architecture Specific EXE Directory Check.
117$!
118$ ENDIF
119$! 87$!
120$! Check To See If We Have The Proper Libraries. 88$! Check To See If We Have The Proper Libraries.
121$! 89$!
@@ -126,20 +94,59 @@ $!
126$ GOSUB CHECK_OPT_FILE 94$ GOSUB CHECK_OPT_FILE
127$! 95$!
128$! Define The TEST Files. 96$! Define The TEST Files.
97$! NOTE: Some might think this list ugly. However, it's made this way to
98$! reflect the EXE variable in Makefile as closely as possible,
99$! thereby making it fairly easy to verify that the lists are the same.
129$! 100$!
130$ TEST_FILES = "BNTEST,ECTEST,ECDSATEST,ECDHTEST,IDEATEST,"+ - 101$ TEST_FILES = "BNTEST,ECTEST,ECDSATEST,ECDHTEST,IDEATEST,"+ -
131 "MD2TEST,MD4TEST,MD5TEST,HMACTEST,"+ - 102 "MD2TEST,MD4TEST,MD5TEST,HMACTEST,WP_TEST,"+ -
132 "RC2TEST,RC4TEST,RC5TEST,"+ - 103 "RC2TEST,RC4TEST,RC5TEST,"+ -
133 "DESTEST,SHATEST,SHA1TEST,SHA256T,SHA512T,"+ - 104 "DESTEST,SHATEST,SHA1TEST,SHA256T,SHA512T,"+ -
134 "MDC2TEST,RMDTEST,"+ - 105 "MDC2TEST,RMDTEST,"+ -
135 "RANDTEST,DHTEST,ENGINETEST,"+ - 106 "RANDTEST,DHTEST,ENGINETEST,"+ -
136 "BFTEST,CASTTEST,SSLTEST,EXPTEST,DSATEST,RSA_TEST,"+ - 107 "BFTEST,CASTTEST,SSLTEST,EXPTEST,DSATEST,RSA_TEST,"+ -
137 "EVP_TEST" 108 "EVP_TEST,JPAKETEST"
109$! Should we add MTTEST,PQ_TEST,LH_TEST,DIVTEST,TABTEST as well?
110$!
111$! Additional directory information.
112$ T_D_BNTEST := [-.crypto.bn]
113$ T_D_ECTEST := [-.crypto.ec]
114$ T_D_ECDSATEST := [-.crypto.ecdsa]
115$ T_D_ECDHTEST := [-.crypto.ecdh]
116$ T_D_IDEATEST := [-.crypto.idea]
117$ T_D_MD2TEST := [-.crypto.md2]
118$ T_D_MD4TEST := [-.crypto.md4]
119$ T_D_MD5TEST := [-.crypto.md5]
120$ T_D_HMACTEST := [-.crypto.hmac]
121$ T_D_WP_TEST := [-.crypto.whrlpool]
122$ T_D_RC2TEST := [-.crypto.rc2]
123$ T_D_RC4TEST := [-.crypto.rc4]
124$ T_D_RC5TEST := [-.crypto.rc5]
125$ T_D_DESTEST := [-.crypto.des]
126$ T_D_SHATEST := [-.crypto.sha]
127$ T_D_SHA1TEST := [-.crypto.sha]
128$ T_D_SHA256T := [-.crypto.sha]
129$ T_D_SHA512T := [-.crypto.sha]
130$ T_D_MDC2TEST := [-.crypto.mdc2]
131$ T_D_RMDTEST := [-.crypto.ripemd]
132$ T_D_RANDTEST := [-.crypto.rand]
133$ T_D_DHTEST := [-.crypto.dh]
134$ T_D_ENGINETEST := [-.crypto.engine]
135$ T_D_BFTEST := [-.crypto.bf]
136$ T_D_CASTTEST := [-.crypto.cast]
137$ T_D_SSLTEST := [-.ssl]
138$ T_D_EXPTEST := [-.crypto.bn]
139$ T_D_DSATEST := [-.crypto.dsa]
140$ T_D_RSA_TEST := [-.crypto.rsa]
141$ T_D_EVP_TEST := [-.crypto.evp]
142$ T_D_JPAKETEST := [-.crypto.jpake]
143$ T_D_IGETEST := [-.test]
144$!
138$ TCPIP_PROGRAMS = ",," 145$ TCPIP_PROGRAMS = ",,"
139$ IF COMPILER .EQS. "VAXC" THEN - 146$ IF COMPILER .EQS. "VAXC" THEN -
140 TCPIP_PROGRAMS = ",SSLTEST," 147 TCPIP_PROGRAMS = ",SSLTEST,"
141$! 148$!
142$! Define A File Counter And Set It To "0". 149$! Define A File Counter And Set It To "0".
143$! 150$!
144$ FILE_COUNTER = 0 151$ FILE_COUNTER = 0
145$! 152$!
@@ -161,7 +168,7 @@ $ FILE_COUNTER = FILE_COUNTER + 1
161$! 168$!
162$! Create The Source File Name. 169$! Create The Source File Name.
163$! 170$!
164$ SOURCE_FILE = "SYS$DISK:[]" + FILE_NAME + ".C" 171$ SOURCE_FILE = "SYS$DISK:" + T_D_'FILE_NAME' + FILE_NAME + ".C"
165$! 172$!
166$! Create The Object File Name. 173$! Create The Object File Name.
167$! 174$!
@@ -195,7 +202,7 @@ $!
195$! Compile The File. 202$! Compile The File.
196$! 203$!
197$ ON ERROR THEN GOTO NEXT_FILE 204$ ON ERROR THEN GOTO NEXT_FILE
198$ CC/OBJECT='OBJECT_FILE' 'SOURCE_FILE' 205$ CC /OBJECT='OBJECT_FILE' 'SOURCE_FILE'
199$ ON WARNING THEN GOTO NEXT_FILE 206$ ON WARNING THEN GOTO NEXT_FILE
200$! 207$!
201$! Check If What We Are About To Compile Works Without A TCP/IP Library. 208$! Check If What We Are About To Compile Works Without A TCP/IP Library.
@@ -205,7 +212,8 @@ $ THEN
205$! 212$!
206$! Inform The User That A TCP/IP Library Is Needed To Compile This Program. 213$! Inform The User That A TCP/IP Library Is Needed To Compile This Program.
207$! 214$!
208$ WRITE SYS$OUTPUT FILE_NAME," Needs A TCP/IP Library. Can't Link. Skipping..." 215$ WRITE SYS$OUTPUT -
216 FILE_NAME," Needs A TCP/IP Library. Can't Link. Skipping..."
209$ GOTO NEXT_FILE 217$ GOTO NEXT_FILE
210$! 218$!
211$! End The TCP/IP Library Check. 219$! End The TCP/IP Library Check.
@@ -220,10 +228,12 @@ $ THEN
220$! 228$!
221$! Don't Link With The RSAREF Routines And TCP/IP Library. 229$! Don't Link With The RSAREF Routines And TCP/IP Library.
222$! 230$!
223$ LINK/'DEBUGGER'/'TRACEBACK' /EXE='EXE_FILE' - 231$ LINK /'DEBUGGER' /'TRACEBACK' /EXECTABLE = 'EXE_FILE' -
224 'OBJECT_FILE', - 232 'OBJECT_FILE', -
225 'SSL_LIB'/LIBRARY,'CRYPTO_LIB'/LIBRARY, - 233 'SSL_LIB' /LIBRARY, -
226 'TCPIP_LIB','OPT_FILE'/OPTION 234 'CRYPTO_LIB' /LIBRARY, -
235 'TCPIP_LIB', -
236 'OPT_FILE' /OPTIONS
227$! 237$!
228$! Else... 238$! Else...
229$! 239$!
@@ -231,10 +241,11 @@ $ ELSE
231$! 241$!
232$! Don't Link With The RSAREF Routines And Link With A TCP/IP Library. 242$! Don't Link With The RSAREF Routines And Link With A TCP/IP Library.
233$! 243$!
234$ LINK/'DEBUGGER'/'TRACEBACK' /EXE='EXE_FILE' - 244$ LINK /'DEBUGGER' /'TRACEBACK' /EXECUTABLE = 'EXE_FILE' -
235 'OBJECT_FILE', - 245 'OBJECT_FILE', -
236 'SSL_LIB'/LIBRARY,'CRYPTO_LIB'/LIBRARY, - 246 'SSL_LIB' /LIBRARY, -
237 'OPT_FILE'/OPTION 247 'CRYPTO_LIB' /LIBRARY, -
248 'OPT_FILE' /OPTIONS
238$! 249$!
239$! End The TCP/IP Library Check. 250$! End The TCP/IP Library Check.
240$! 251$!
@@ -273,10 +284,10 @@ $!
273$ CREATE 'OPT_FILE' 284$ CREATE 'OPT_FILE'
274$DECK 285$DECK
275! 286!
276! Default System Options File To Link Agianst 287! Default System Options File To Link Against
277! The Sharable VAX C Runtime Library. 288! The Sharable VAX C Runtime Library.
278! 289!
279SYS$SHARE:VAXCRTL.EXE/SHARE 290SYS$SHARE:VAXCRTL.EXE /SHAREABLE
280$EOD 291$EOD
281$! 292$!
282$! End The Option File Check. 293$! End The Option File Check.
@@ -305,8 +316,8 @@ $DECK
305! Default System Options File To Link Agianst 316! Default System Options File To Link Agianst
306! The Sharable C Runtime Library. 317! The Sharable C Runtime Library.
307! 318!
308GNU_CC:[000000]GCCLIB/LIBRARY 319GNU_CC:[000000]GCCLIB.OLB /LIBRARY
309SYS$SHARE:VAXCRTL/SHARE 320SYS$SHARE:VAXCRTL.EXE /SHAREABLE
310$EOD 321$EOD
311$! 322$!
312$! End The Option File Check. 323$! End The Option File Check.
@@ -327,7 +338,7 @@ $!
327$ IF (F$SEARCH(OPT_FILE).EQS."") 338$ IF (F$SEARCH(OPT_FILE).EQS."")
328$ THEN 339$ THEN
329$! 340$!
330$! Figure Out If We Need An AXP Or A VAX Linker Option File. 341$! Figure Out If We Need A non-VAX Or A VAX Linker Option File.
331$! 342$!
332$ IF (ARCH.EQS."VAX") 343$ IF (ARCH.EQS."VAX")
333$ THEN 344$ THEN
@@ -340,26 +351,26 @@ $DECK
340! Default System Options File To Link Agianst 351! Default System Options File To Link Agianst
341! The Sharable DEC C Runtime Library. 352! The Sharable DEC C Runtime Library.
342! 353!
343SYS$SHARE:DECC$SHR.EXE/SHARE 354SYS$SHARE:DECC$SHR.EXE /SHAREABLE
344$EOD 355$EOD
345$! 356$!
346$! Else... 357$! Else...
347$! 358$!
348$ ELSE 359$ ELSE
349$! 360$!
350$! Create The AXP Linker Option File. 361$! Create The non-VAX Linker Option File.
351$! 362$!
352$ CREATE 'OPT_FILE' 363$ CREATE 'OPT_FILE'
353$DECK 364$DECK
354! 365!
355! Default System Options File For AXP To Link Agianst 366! Default System Options File For non-VAX To Link Agianst
356! The Sharable C Runtime Library. 367! The Sharable C Runtime Library.
357! 368!
358SYS$SHARE:CMA$OPEN_LIB_SHR/SHARE 369SYS$SHARE:CMA$OPEN_LIB_SHR.EXE /SHAREABLE
359SYS$SHARE:CMA$OPEN_RTL/SHARE 370SYS$SHARE:CMA$OPEN_RTL.EXE /SHAREABLE
360$EOD 371$EOD
361$! 372$!
362$! End The VAX/AXP DEC C Option File Check. 373$! End The DEC C Option File Check.
363$! 374$!
364$ ENDIF 375$ ENDIF
365$! 376$!
@@ -511,7 +522,7 @@ $ ELSE
511$! 522$!
512$! Check To See If We Have VAXC Or DECC. 523$! Check To See If We Have VAXC Or DECC.
513$! 524$!
514$ IF (ARCH.EQS."AXP").OR.(F$TRNLNM("DECC$CC_DEFAULT").NES."") 525$ IF (ARCH.NES."VAX").OR.(F$TRNLNM("DECC$CC_DEFAULT").NES."")
515$ THEN 526$ THEN
516$! 527$!
517$! Looks Like DECC, Set To Use DECC. 528$! Looks Like DECC, Set To Use DECC.
@@ -614,14 +625,14 @@ $! Use DECC...
614$! 625$!
615$ CC = "CC" 626$ CC = "CC"
616$ IF ARCH.EQS."VAX" .AND. F$TRNLNM("DECC$CC_DEFAULT").NES."/DECC" - 627$ IF ARCH.EQS."VAX" .AND. F$TRNLNM("DECC$CC_DEFAULT").NES."/DECC" -
617 THEN CC = "CC/DECC" 628 THEN CC = "CC /DECC"
618$ CC = CC + "/''CC_OPTIMIZE'/''DEBUGGER'/STANDARD=ANSI89" + - 629$ CC = CC + "/''CC_OPTIMIZE' /''DEBUGGER' /STANDARD=ANSI89" + -
619 "/NOLIST/PREFIX=ALL" + - 630 "/NOLIST /PREFIX=ALL" + -
620 "/INCLUDE=(SYS$DISK:[-],SYS$DISK:[-.CRYPTO])" + CCEXTRAFLAGS 631 "/INCLUDE=(SYS$DISK:[-],SYS$DISK:[-.CRYPTO])" + CCEXTRAFLAGS
621$! 632$!
622$! Define The Linker Options File Name. 633$! Define The Linker Options File Name.
623$! 634$!
624$ OPT_FILE = "SYS$DISK:[]VAX_DECC_OPTIONS.OPT" 635$ OPT_FILE = "''EXE_DIR'VAX_DECC_OPTIONS.OPT"
625$! 636$!
626$! End DECC Check. 637$! End DECC Check.
627$! 638$!
@@ -643,23 +654,23 @@ $!
643$! Compile Using VAXC. 654$! Compile Using VAXC.
644$! 655$!
645$ CC = "CC" 656$ CC = "CC"
646$ IF ARCH.EQS."AXP" 657$ IF ARCH.NES."VAX"
647$ THEN 658$ THEN
648$ WRITE SYS$OUTPUT "There is no VAX C on Alpha!" 659$ WRITE SYS$OUTPUT "There is no VAX C on ''ARCH'!"
649$ EXIT 660$ EXIT
650$ ENDIF 661$ ENDIF
651$ IF F$TRNLNM("DECC$CC_DEFAULT").EQS."/DECC" THEN CC = "CC/VAXC" 662$ IF F$TRNLNM("DECC$CC_DEFAULT").EQS."/DECC" THEN CC = "CC /VAXC"
652$ CC = CC + "/''CC_OPTIMIZE'/''DEBUGGER'/NOLIST" + - 663$ CC = CC + "/''CC_OPTIMIZE' /''DEBUGGER' /NOLIST" + -
653 "/INCLUDE=(SYS$DISK:[-],SYS$DISK:[-.CRYPTO])" + CCEXTRAFLAGS 664 "/INCLUDE=(SYS$DISK:[-],SYS$DISK:[-.CRYPTO])" + CCEXTRAFLAGS
654$ CCDEFS = CCDEFS + ",""VAXC""" 665$ CCDEFS = CCDEFS + ",""VAXC"""
655$! 666$!
656$! Define <sys> As SYS$COMMON:[SYSLIB] 667$! Define <sys> As SYS$COMMON:[SYSLIB]
657$! 668$!
658$ DEFINE/NOLOG SYS SYS$COMMON:[SYSLIB] 669$ DEFINE /NOLOG SYS SYS$COMMON:[SYSLIB]
659$! 670$!
660$! Define The Linker Options File Name. 671$! Define The Linker Options File Name.
661$! 672$!
662$ OPT_FILE = "SYS$DISK:[]VAX_VAXC_OPTIONS.OPT" 673$ OPT_FILE = "''EXE_DIR'VAX_VAXC_OPTIONS.OPT"
663$! 674$!
664$! End VAXC Check 675$! End VAXC Check
665$! 676$!
@@ -680,12 +691,12 @@ $ WRITE SYS$OUTPUT "Using GNU 'C' Compiler."
680$! 691$!
681$! Use GNU C... 692$! Use GNU C...
682$! 693$!
683$ CC = "GCC/NOCASE_HACK/''GCC_OPTIMIZE'/''DEBUGGER'/NOLIST" + - 694$ CC = "GCC /NOCASE_HACK /''GCC_OPTIMIZE' /''DEBUGGER' /NOLIST" + -
684 "/INCLUDE=(SYS$DISK:[-],SYS$DISK:[-.CRYPTO])" + CCEXTRAFLAGS 695 "/INCLUDE=(SYS$DISK:[-],SYS$DISK:[-.CRYPTO])" + CCEXTRAFLAGS
685$! 696$!
686$! Define The Linker Options File Name. 697$! Define The Linker Options File Name.
687$! 698$!
688$ OPT_FILE = "SYS$DISK:[]VAX_GNUC_OPTIONS.OPT" 699$ OPT_FILE = "''EXE_DIR'VAX_GNUC_OPTIONS.OPT"
689$! 700$!
690$! End The GNU C Check. 701$! End The GNU C Check.
691$! 702$!
@@ -715,7 +726,7 @@ $ CC = CC + "/DEFINE=(" + CCDEFS + ")" + CCDISABLEWARNINGS
715$! 726$!
716$! Show user the result 727$! Show user the result
717$! 728$!
718$ WRITE/SYMBOL SYS$OUTPUT "Main Compiling Command: ",CC 729$ WRITE /SYMBOL SYS$OUTPUT "Main Compiling Command: ", CC
719$! 730$!
720$! Else The User Entered An Invalid Arguement. 731$! Else The User Entered An Invalid Arguement.
721$! 732$!
@@ -749,7 +760,7 @@ $ THEN
749$! 760$!
750$! Set the library to use SOCKETSHR 761$! Set the library to use SOCKETSHR
751$! 762$!
752$ TCPIP_LIB = "SYS$DISK:[-.VMS]SOCKETSHR_SHR.OPT/OPT" 763$ TCPIP_LIB = "SYS$DISK:[-.VMS]SOCKETSHR_SHR.OPT /OPTIONS"
753$! 764$!
754$! Done with SOCKETSHR 765$! Done with SOCKETSHR
755$! 766$!
@@ -760,7 +771,7 @@ $!
760$ IF P3.EQS."MULTINET" 771$ IF P3.EQS."MULTINET"
761$ THEN 772$ THEN
762$! 773$!
763$! Set the library to use UXC emulation. 774$! Set the library to use UCX emulation.
764$! 775$!
765$ P3 = "UCX" 776$ P3 = "UCX"
766$! 777$!
@@ -775,13 +786,13 @@ $ THEN
775$! 786$!
776$! Set the library to use UCX. 787$! Set the library to use UCX.
777$! 788$!
778$ TCPIP_LIB = "SYS$DISK:[-.VMS]UCX_SHR_DECC.OPT/OPT" 789$ TCPIP_LIB = "SYS$DISK:[-.VMS]UCX_SHR_DECC.OPT /OPTIONS"
779$ IF F$TRNLNM("UCX$IPC_SHR") .NES. "" 790$ IF F$TRNLNM("UCX$IPC_SHR") .NES. ""
780$ THEN 791$ THEN
781$ TCPIP_LIB = "SYS$DISK:[-.VMS]UCX_SHR_DECC_LOG.OPT/OPT" 792$ TCPIP_LIB = "SYS$DISK:[-.VMS]UCX_SHR_DECC_LOG.OPT /OPTIONS"
782$ ELSE 793$ ELSE
783$ IF COMPILER .NES. "DECC" .AND. ARCH .EQS. "VAX" THEN - 794$ IF COMPILER .NES. "DECC" .AND. ARCH .EQS. "VAX" THEN -
784 TCPIP_LIB = "SYS$DISK:[-.VMS]UCX_SHR_VAXC.OPT/OPT" 795 TCPIP_LIB = "SYS$DISK:[-.VMS]UCX_SHR_VAXC.OPT /OPTIONS"
785$ ENDIF 796$ ENDIF
786$! 797$!
787$! Done with UCX 798$! Done with UCX
@@ -795,7 +806,7 @@ $ THEN
795$! 806$!
796$! Set the library to use TCPIP (post UCX). 807$! Set the library to use TCPIP (post UCX).
797$! 808$!
798$ TCPIP_LIB = "SYS$DISK:[-.VMS]TCPIP_SHR_DECC.OPT/OPT" 809$ TCPIP_LIB = "SYS$DISK:[-.VMS]TCPIP_SHR_DECC.OPT /OPTIONS"
799$! 810$!
800$! Done with TCPIP 811$! Done with TCPIP
801$! 812$!
@@ -893,7 +904,7 @@ $ __INCLUDE = __TOP + "INCLUDE.OPENSSL]"
893$! 904$!
894$! Set up the logical name OPENSSL to point at the include directory 905$! Set up the logical name OPENSSL to point at the include directory
895$! 906$!
896$ DEFINE OPENSSL/NOLOG '__INCLUDE' 907$ DEFINE OPENSSL /NOLOG '__INCLUDE'
897$! 908$!
898$! Done 909$! Done
899$! 910$!
@@ -907,7 +918,7 @@ $ IF __SAVE_OPENSSL .EQS. ""
907$ THEN 918$ THEN
908$ DEASSIGN OPENSSL 919$ DEASSIGN OPENSSL
909$ ELSE 920$ ELSE
910$ DEFINE/NOLOG OPENSSL '__SAVE_OPENSSL' 921$ DEFINE /NOLOG OPENSSL '__SAVE_OPENSSL'
911$ ENDIF 922$ ENDIF
912$! 923$!
913$! Done 924$! Done
diff --git a/src/lib/libssl/test/tcrl.com b/src/lib/libssl/test/tcrl.com
index 86bf9735aa..1f606eb850 100644
--- a/src/lib/libssl/test/tcrl.com
+++ b/src/lib/libssl/test/tcrl.com
@@ -1,7 +1,9 @@
1$! TCRL.COM -- Tests crl keys 1$! TCRL.COM -- Tests crl keys
2$ 2$
3$ __arch := VAX 3$ __arch := VAX
4$ if f$getsyi("cpu") .ge. 128 then __arch := AXP 4$ if f$getsyi("cpu") .ge. 128 then -
5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6$ if __arch .eqs. "" then __arch := UNK
5$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 7$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
6$ 8$
7$ cmd := mcr 'exe_dir'openssl crl 9$ cmd := mcr 'exe_dir'openssl crl
diff --git a/src/lib/libssl/test/testca.com b/src/lib/libssl/test/testca.com
index c670f2bf5f..ec7e56dad6 100644
--- a/src/lib/libssl/test/testca.com
+++ b/src/lib/libssl/test/testca.com
@@ -1,8 +1,9 @@
1$! TESTCA.COM 1$! TESTCA.COM
2$ 2$
3$ __arch := VAX 3$ __arch := VAX
4$ if f$getsyi("cpu") .ge. 128 then __arch := AXP 4$ if f$getsyi("cpu") .ge. 128 then -
5$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6$ if __arch .eqs. "" then __arch := UNK
6$ 7$
7$ openssl := mcr 'exe_dir'openssl 8$ openssl := mcr 'exe_dir'openssl
8$ 9$
@@ -11,7 +12,7 @@ $
11$ set noon 12$ set noon
12$ if f$search("demoCA.dir") .nes. "" 13$ if f$search("demoCA.dir") .nes. ""
13$ then 14$ then
14$ call deltree [.demoCA]*.* 15$ @[-.util]deltree [.demoCA]*.*
15$ set file/prot=(S:RWED,O:RWED,G:RWED,W:RWED) demoCA.dir;* 16$ set file/prot=(S:RWED,O:RWED,G:RWED,W:RWED) demoCA.dir;*
16$ delete demoCA.dir;* 17$ delete demoCA.dir;*
17$ endif 18$ endif
@@ -38,7 +39,7 @@ $ @[-.apps]CA.com -verify newcert.pem
38$ if $severity .ne. 1 then exit 3 39$ if $severity .ne. 1 then exit 3
39$ 40$
40$ set noon 41$ set noon
41$ call deltree [.demoCA]*.* 42$ @[-.util]deltree [.demoCA]*.*
42$ set file/prot=(S:RWED,O:RWED,G:RWED,W:RWED) demoCA.dir;* 43$ set file/prot=(S:RWED,O:RWED,G:RWED,W:RWED) demoCA.dir;*
43$ delete demoCA.dir;* 44$ delete demoCA.dir;*
44$ if f$search("newcert.pem") .nes. "" then delete newcert.pem;* 45$ if f$search("newcert.pem") .nes. "" then delete newcert.pem;*
@@ -47,32 +48,3 @@ $ set on
47$! #usage: CA -newcert|-newreq|-newca|-sign|-verify 48$! #usage: CA -newcert|-newreq|-newca|-sign|-verify
48$ 49$
49$ exit 50$ exit
50$
51$ deltree: subroutine ! P1 is a name of a directory
52$ on control_y then goto dt_STOP
53$ on warning then goto dt_exit
54$ _dt_def = f$trnlnm("SYS$DISK")+f$directory()
55$ if f$parse(p1) .eqs. "" then exit
56$ set default 'f$parse(p1,,,"DEVICE")''f$parse(p1,,,"DIRECTORY")'
57$ p1 = f$parse(p1,,,"NAME") + f$parse(p1,,,"TYPE")
58$ _fp = f$parse(".DIR",p1)
59$ dt_loop:
60$ _f = f$search(_fp)
61$ if _f .eqs. "" then goto dt_loopend
62$ call deltree [.'f$parse(_f,,,"NAME")']*.*
63$ goto dt_loop
64$ dt_loopend:
65$ _fp = f$parse(p1,".;*")
66$ if f$search(_fp) .eqs. "" then goto dt_exit
67$ set noon
68$ set file/prot=(S:RWED,O:RWED,G:RWED,W:RWED) '_fp'
69$ set on
70$ delete/nolog '_fp'
71$ dt_exit:
72$ set default '_dt_def'
73$ exit
74$ dt_STOP:
75$ set default '_dt_def'
76$ stop/id=""
77$ exit
78$ endsubroutine
diff --git a/src/lib/libssl/test/testenc.com b/src/lib/libssl/test/testenc.com
index 5e6f521f9d..621d9a2126 100644
--- a/src/lib/libssl/test/testenc.com
+++ b/src/lib/libssl/test/testenc.com
@@ -1,8 +1,9 @@
1$! TESTENC.COM -- Test encoding and decoding 1$! TESTENC.COM -- Test encoding and decoding
2$ 2$
3$ __arch := VAX 3$ __arch := VAX
4$ if f$getsyi("cpu") .ge. 128 then __arch := AXP 4$ if f$getsyi("cpu") .ge. 128 then -
5$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6$ if __arch .eqs. "" then __arch := UNK
6$ 7$
7$ testsrc := makefile. 8$ testsrc := makefile.
8$ test := p.txt 9$ test := p.txt
diff --git a/src/lib/libssl/test/testgen.com b/src/lib/libssl/test/testgen.com
index 5d28ebec72..a4bc574bec 100644
--- a/src/lib/libssl/test/testgen.com
+++ b/src/lib/libssl/test/testgen.com
@@ -1,7 +1,9 @@
1$! TETSGEN.COM 1$! TETSGEN.COM
2$ 2$
3$ __arch := VAX 3$ __arch := VAX
4$ if f$getsyi("cpu") .ge. 128 then __arch := AXP 4$ if f$getsyi("cpu") .ge. 128 then -
5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6$ if __arch .eqs. "" then __arch := UNK
5$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 7$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
6$ 8$
7$ T := testcert 9$ T := testcert
diff --git a/src/lib/libssl/test/tests.com b/src/lib/libssl/test/tests.com
index 88a33d0531..d151cd3955 100644
--- a/src/lib/libssl/test/tests.com
+++ b/src/lib/libssl/test/tests.com
@@ -6,11 +6,17 @@ $ __proc = f$element(0,";",f$environment("procedure"))
6$ __here = f$parse(f$parse("A.;",__proc) - "A.;","[]A.;") - "A.;" 6$ __here = f$parse(f$parse("A.;",__proc) - "A.;","[]A.;") - "A.;"
7$ __save_default = f$environment("default") 7$ __save_default = f$environment("default")
8$ __arch := VAX 8$ __arch := VAX
9$ if f$getsyi("cpu") .ge. 128 then __arch := AXP 9$ if f$getsyi("cpu") .ge. 128 then -
10 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
11$ if __arch .eqs. "" then __arch := UNK
10$ texe_dir := sys$disk:[-.'__arch'.exe.test] 12$ texe_dir := sys$disk:[-.'__arch'.exe.test]
11$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 13$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
12$ 14$
15$ sslroot = f$parse("sys$disk:[-.apps];",,,,"syntax_only") - "].;"+ ".]"
16$ define /translation_attributes = concealed sslroot 'sslroot'
17$
13$ set default '__here' 18$ set default '__here'
19$
14$ on control_y then goto exit 20$ on control_y then goto exit
15$ on error then goto exit 21$ on error then goto exit
16$ 22$
@@ -18,14 +24,18 @@ $ if p1 .nes. ""
18$ then 24$ then
19$ tests = p1 25$ tests = p1
20$ else 26$ else
27$! NOTE: This list reflects the list of dependencies following the
28$! "alltests" target in Makefile. This should make it easy to see
29$! if there's a difference that needs to be taken care of.
21$ tests := - 30$ tests := -
22 test_des,test_idea,test_sha,test_md4,test_md5,test_hmac,- 31 test_des,test_idea,test_sha,test_md4,test_md5,test_hmac,-
23 test_md2,test_mdc2,- 32 test_md2,test_mdc2,test_wp,-
24 test_rmd,test_rc2,test_rc4,test_rc5,test_bf,test_cast,test_rd,- 33 test_rmd,test_rc2,test_rc4,test_rc5,test_bf,test_cast,test_aes,-
25 test_rand,test_bn,test_ec,test_ecdsa,test_ecdh,- 34 test_rand,test_bn,test_ec,test_ecdsa,test_ecdh,-
26 test_enc,test_x509,test_rsa,test_crl,test_sid,- 35 test_enc,test_x509,test_rsa,test_crl,test_sid,-
27 test_gen,test_req,test_pkcs7,test_verify,test_dh,test_dsa,- 36 test_gen,test_req,test_pkcs7,test_verify,test_dh,test_dsa,-
28 test_ss,test_ca,test_engine,test_evp,test_ssl,test_ige,test_jpake 37 test_ss,test_ca,test_engine,test_evp,test_ssl,test_tsa,test_ige,-
38 test_jpake,test_cms
29$ endif 39$ endif
30$ tests = f$edit(tests,"COLLAPSE") 40$ tests = f$edit(tests,"COLLAPSE")
31$ 41$
@@ -43,6 +53,7 @@ $ MD2TEST := md2test
43$ MD4TEST := md4test 53$ MD4TEST := md4test
44$ MD5TEST := md5test 54$ MD5TEST := md5test
45$ HMACTEST := hmactest 55$ HMACTEST := hmactest
56$ WPTEST := wp_test
46$ RC2TEST := rc2test 57$ RC2TEST := rc2test
47$ RC4TEST := rc4test 58$ RC4TEST := rc4test
48$ RC5TEST := rc5test 59$ RC5TEST := rc5test
@@ -93,6 +104,9 @@ $ return
93$ test_hmac: 104$ test_hmac:
94$ mcr 'texe_dir''hmactest' 105$ mcr 'texe_dir''hmactest'
95$ return 106$ return
107$ test_wp:
108$ mcr 'texe_dir''wptest'
109$ return
96$ test_md2: 110$ test_md2:
97$ mcr 'texe_dir''md2test' 111$ mcr 'texe_dir''md2test'
98$ return 112$ return
@@ -248,9 +262,22 @@ $ write sys$output "Generate and certify a test certificate via the 'ca' pro
248$ @testca.com 262$ @testca.com
249$ endif 263$ endif
250$ return 264$ return
251$ test_rd: 265$ test_aes:
252$ write sys$output "test Rijndael" 266$! write sys$output "test AES"
253$ !mcr 'texe_dir''rdtest' 267$! !mcr 'texe_dir''aestest'
268$ return
269$ test_tsa:
270$ set noon
271$ define/user sys$output nla0:
272$ mcr 'exe_dir'openssl no-rsa
273$ save_severity=$SEVERITY
274$ set on
275$ if save_severity
276$ then
277$ write sys$output "skipping testtsa.com test -- requires RSA"
278$ else
279$ @testtsa.com
280$ endif
254$ return 281$ return
255$ test_ige: 282$ test_ige:
256$ write sys$output "Test IGE mode" 283$ write sys$output "Test IGE mode"
@@ -260,8 +287,13 @@ $ test_jpake:
260$ write sys$output "Test JPAKE" 287$ write sys$output "Test JPAKE"
261$ mcr 'texe_dir''jpaketest' 288$ mcr 'texe_dir''jpaketest'
262$ return 289$ return
290$ test_cms:
291$ write sys$output "CMS consistency test"
292$ perl CMS-TEST.PL
293$ return
263$ 294$
264$ 295$
265$ exit: 296$ exit:
266$ set default '__save_default' 297$ set default '__save_default'
298$ deassign sslroot
267$ exit 299$ exit
diff --git a/src/lib/libssl/test/testss.com b/src/lib/libssl/test/testss.com
index 685ae5043d..6598106b09 100644
--- a/src/lib/libssl/test/testss.com
+++ b/src/lib/libssl/test/testss.com
@@ -1,7 +1,9 @@
1$! TESTSS.COM 1$! TESTSS.COM
2$ 2$
3$ __arch := VAX 3$ __arch := VAX
4$ if f$getsyi("cpu") .ge. 128 then __arch := AXP 4$ if f$getsyi("cpu") .ge. 128 then -
5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6$ if __arch .eqs. "" then __arch := UNK
5$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 7$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
6$ 8$
7$ digest="-md5" 9$ digest="-md5"
diff --git a/src/lib/libssl/test/testssl.com b/src/lib/libssl/test/testssl.com
index 26308f7715..9c83afba04 100644
--- a/src/lib/libssl/test/testssl.com
+++ b/src/lib/libssl/test/testssl.com
@@ -1,7 +1,9 @@
1$! TESTSSL.COM 1$! TESTSSL.COM
2$ 2$
3$ __arch := VAX 3$ __arch := VAX
4$ if f$getsyi("cpu") .ge. 128 then __arch := AXP 4$ if f$getsyi("cpu") .ge. 128 then -
5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6$ if __arch .eqs. "" then __arch := UNK
5$ texe_dir := sys$disk:[-.'__arch'.exe.test] 7$ texe_dir := sys$disk:[-.'__arch'.exe.test]
6$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 8$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
7$ 9$
diff --git a/src/lib/libssl/test/testtsa.com b/src/lib/libssl/test/testtsa.com
new file mode 100644
index 0000000000..e3c586f14a
--- /dev/null
+++ b/src/lib/libssl/test/testtsa.com
@@ -0,0 +1,248 @@
1$!
2$! A few very basic tests for the 'ts' time stamping authority command.
3$!
4$
5$ __arch := VAX
6$ if f$getsyi("cpu") .ge. 128 then -
7 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
8$ if __arch .eqs. "" then __arch := UNK
9$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
10$
11$ openssl := mcr 'f$parse(exe_dir+"openssl.exe")'
12$ OPENSSL_CONF := [-]CAtsa.cnf
13$ ! Because that's what ../apps/CA.sh really looks at
14$ SSLEAY_CONFIG = "-config " + OPENSSL_CONF
15$
16$ error:
17$ subroutine
18$ write sys$error "TSA test failed!"
19$ exit 3
20$ endsubroutine
21$
22$ setup_dir:
23$ subroutine
24$
25$ if f$search("tsa.dir") .nes ""
26$ then
27$ @[-.util]deltree [.tsa]*.*
28$ set file/prot=(S:RWED,O:RWED,G:RWED,W:RWED) tsa.dir;*
29$ delete tsa.dir;*
30$ endif
31$
32$ create/dir [.tsa]
33$ set default [.tsa]
34$ endsubroutine
35$
36$ clean_up_dir:
37$ subroutine
38$
39$ set default [-]
40$ @[-.util]deltree [.tsa]*.*
41$ set file/prot=(S:RWED,O:RWED,G:RWED,W:RWED) tsa.dir;*
42$ delete tsa.dir;*
43$ endsubroutine
44$
45$ create_ca:
46$ subroutine
47$
48$ write sys$output "Creating a new CA for the TSA tests..."
49$ TSDNSECT = "ts_ca_dn"
50$ openssl req -new -x509 -nodes -
51 -out tsaca.pem -keyout tsacakey.pem
52$ if $severity .ne. 1 then call error
53$ endsubroutine
54$
55$ create_tsa_cert:
56$ subroutine
57$
58$ INDEX=p1
59$ EXT=p2
60$ TSDNSECT = "ts_cert_dn"
61$
62$ openssl req -new -
63 -out tsa_req'INDEX'.pem -keyout tsa_key'INDEX'.pem
64$ if $severity .ne. 1 then call error
65$
66$ write sys$output "Using extension ''EXT'"
67$ openssl x509 -req -
68 -in tsa_req'INDEX'.pem -out tsa_cert'INDEX'.pem -
69 "-CA" tsaca.pem "-CAkey" tsacakey.pem "-CAcreateserial" -
70 -extfile 'OPENSSL_CONF' -extensions "''EXT'"
71$ if $severity .ne. 1 then call error
72$ endsubroutine
73$
74$ print_request:
75$ subroutine
76$
77$ openssl ts -query -in 'p1' -text
78$ endsubroutine
79$
80$ create_time_stamp_request1: subroutine
81$
82$ openssl ts -query -data [-]testtsa.com -policy tsa_policy1 -
83 -cert -out req1.tsq
84$ if $severity .ne. 1 then call error
85$ endsubroutine
86$
87$ create_time_stamp_request2: subroutine
88$
89$ openssl ts -query -data [-]testtsa.com -policy tsa_policy2 -
90 -no_nonce -out req2.tsq
91$ if $severity .ne. 1 then call error
92$ endsubroutine
93$
94$ create_time_stamp_request3: subroutine
95$
96$ openssl ts -query -data [-]CAtsa.cnf -no_nonce -out req3.tsq
97$ if $severity .ne. 1 then call error
98$ endsubroutine
99$
100$ print_response:
101$ subroutine
102$
103$ openssl ts -reply -in 'p1' -text
104$ if $severity .ne. 1 then call error
105$ endsubroutine
106$
107$ create_time_stamp_response:
108$ subroutine
109$
110$ openssl ts -reply -section 'p3' -queryfile 'p1' -out 'p2'
111$ if $severity .ne. 1 then call error
112$ endsubroutine
113$
114$ time_stamp_response_token_test:
115$ subroutine
116$
117$ RESPONSE2:='p2'.copy_tsr
118$ TOKEN_DER:='p2'.token_der
119$ openssl ts -reply -in 'p2' -out 'TOKEN_DER' -token_out
120$ if $severity .ne. 1 then call error
121$ openssl ts -reply -in 'TOKEN_DER' -token_in -out 'RESPONSE2'
122$ if $severity .ne. 1 then call error
123$ backup/compare 'RESPONSE2' 'p2'
124$ if $severity .ne. 1 then call error
125$ openssl ts -reply -in 'p2' -text -token_out
126$ if $severity .ne. 1 then call error
127$ openssl ts -reply -in 'TOKEN_DER' -token_in -text -token_out
128$ if $severity .ne. 1 then call error
129$ openssl ts -reply -queryfile 'p1' -text -token_out
130$ if $severity .ne. 1 then call error
131$ endsubroutine
132$
133$ verify_time_stamp_response:
134$ subroutine
135$
136$ openssl ts -verify -queryfile 'p1' -in 'p2' -
137 "-CAfile" tsaca.pem -untrusted tsa_cert1.pem
138$ if $severity .ne. 1 then call error
139$ openssl ts -verify -data 'p3' -in 'p2' -
140 "-CAfile" tsaca.pem -untrusted tsa_cert1.pem
141$ if $severity .ne. 1 then call error
142$ endsubroutine
143$
144$ verify_time_stamp_token:
145$ subroutine
146$
147$ ! create the token from the response first
148$ openssl ts -reply -in 'p2' -out 'p2'.token -token_out
149$ if $severity .ne. 1 then call error
150$ openssl ts -verify -queryfile 'p1' -in 'p2'.token -token_in -
151 "-CAfile" tsaca.pem -untrusted tsa_cert1.pem
152$ if $severity .ne. 1 then call error
153$ openssl ts -verify -data 'p3' -in 'p2'.token -token_in -
154 "-CAfile" tsaca.pem -untrusted tsa_cert1.pem
155$ if $severity .ne. 1 then call error
156$ endsubroutine
157$
158$ verify_time_stamp_response_fail:
159$ subroutine
160$
161$ openssl ts -verify -queryfile 'p1' -in 'p2' -
162 "-CAfile" tsaca.pem -untrusted tsa_cert1.pem
163$ ! Checks if the verification failed, as it should have.
164$ if $severity .eq. 1 then call error
165$ write sys$output "Ok"
166$ endsubroutine
167$
168$ ! Main body ----------------------------------------------------------
169$
170$ write sys$output "Setting up TSA test directory..."
171$ call setup_dir
172$
173$ write sys$output "Creating CA for TSA tests..."
174$ call create_ca
175$
176$ write sys$output "Creating tsa_cert1.pem TSA server cert..."
177$ call create_tsa_cert 1 "tsa_cert"
178$
179$ write sys$output "Creating tsa_cert2.pem non-TSA server cert..."
180$ call create_tsa_cert 2 "non_tsa_cert"
181$
182$ write sys$output "Creating req1.req time stamp request for file testtsa..."
183$ call create_time_stamp_request1
184$
185$ write sys$output "Printing req1.req..."
186$ call print_request req1.tsq
187$
188$ write sys$output "Generating valid response for req1.req..."
189$ call create_time_stamp_response req1.tsq resp1.tsr tsa_config1
190$
191$ write sys$output "Printing response..."
192$ call print_response resp1.tsr
193$
194$ write sys$output "Verifying valid response..."
195$ call verify_time_stamp_response req1.tsq resp1.tsr [-]testtsa.com
196$
197$ write sys$output "Verifying valid token..."
198$ call verify_time_stamp_token req1.tsq resp1.tsr [-]testtsa.com
199$
200$ ! The tests below are commented out, because invalid signer certificates
201$ ! can no longer be specified in the config file.
202$
203$ ! write sys$output "Generating _invalid_ response for req1.req..."
204$ ! call create_time_stamp_response req1.tsq resp1_bad.tsr tsa_config2
205$
206$ ! write sys$output "Printing response..."
207$ ! call print_response resp1_bad.tsr
208$
209$ ! write sys$output "Verifying invalid response, it should fail..."
210$ ! call verify_time_stamp_response_fail req1.tsq resp1_bad.tsr
211$
212$ write sys$output "Creating req2.req time stamp request for file testtsa..."
213$ call create_time_stamp_request2
214$
215$ write sys$output "Printing req2.req..."
216$ call print_request req2.tsq
217$
218$ write sys$output "Generating valid response for req2.req..."
219$ call create_time_stamp_response req2.tsq resp2.tsr tsa_config1
220$
221$ write sys$output "Checking '-token_in' and '-token_out' options with '-reply'..."
222$ call time_stamp_response_token_test req2.tsq resp2.tsr
223$
224$ write sys$output "Printing response..."
225$ call print_response resp2.tsr
226$
227$ write sys$output "Verifying valid response..."
228$ call verify_time_stamp_response req2.tsq resp2.tsr [-]testtsa.com
229$
230$ write sys$output "Verifying response against wrong request, it should fail..."
231$ call verify_time_stamp_response_fail req1.tsq resp2.tsr
232$
233$ write sys$output "Verifying response against wrong request, it should fail..."
234$ call verify_time_stamp_response_fail req2.tsq resp1.tsr
235$
236$ write sys$output "Creating req3.req time stamp request for file CAtsa.cnf..."
237$ call create_time_stamp_request3
238$
239$ write sys$output "Printing req3.req..."
240$ call print_request req3.tsq
241$
242$ write sys$output "Verifying response against wrong request, it should fail..."
243$ call verify_time_stamp_response_fail req3.tsq resp1.tsr
244$
245$ write sys$output "Cleaning up..."
246$ call clean_up_dir
247$
248$ exit
diff --git a/src/lib/libssl/test/tpkcs7.com b/src/lib/libssl/test/tpkcs7.com
index 047834fba4..e107cc141a 100644
--- a/src/lib/libssl/test/tpkcs7.com
+++ b/src/lib/libssl/test/tpkcs7.com
@@ -1,7 +1,9 @@
1$! TPKCS7.COM -- Tests pkcs7 keys 1$! TPKCS7.COM -- Tests pkcs7 keys
2$ 2$
3$ __arch := VAX 3$ __arch := VAX
4$ if f$getsyi("cpu") .ge. 128 then __arch := AXP 4$ if f$getsyi("cpu") .ge. 128 then -
5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6$ if __arch .eqs. "" then __arch := UNK
5$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 7$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
6$ 8$
7$ cmd := mcr 'exe_dir'openssl pkcs7 9$ cmd := mcr 'exe_dir'openssl pkcs7
diff --git a/src/lib/libssl/test/tpkcs7d.com b/src/lib/libssl/test/tpkcs7d.com
index 193bb72137..5ff653ccee 100644
--- a/src/lib/libssl/test/tpkcs7d.com
+++ b/src/lib/libssl/test/tpkcs7d.com
@@ -1,7 +1,9 @@
1$! TPKCS7.COM -- Tests pkcs7 keys 1$! TPKCS7.COM -- Tests pkcs7 keys
2$ 2$
3$ __arch := VAX 3$ __arch := VAX
4$ if f$getsyi("cpu") .ge. 128 then __arch := AXP 4$ if f$getsyi("cpu") .ge. 128 then -
5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6$ if __arch .eqs. "" then __arch := UNK
5$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 7$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
6$ 8$
7$ cmd := mcr 'exe_dir'openssl pkcs7 9$ cmd := mcr 'exe_dir'openssl pkcs7
diff --git a/src/lib/libssl/test/treq.com b/src/lib/libssl/test/treq.com
index 5524e485ba..d2594be6a7 100644
--- a/src/lib/libssl/test/treq.com
+++ b/src/lib/libssl/test/treq.com
@@ -1,7 +1,9 @@
1$! TREQ.COM -- Tests req keys 1$! TREQ.COM -- Tests req keys
2$ 2$
3$ __arch := VAX 3$ __arch := VAX
4$ if f$getsyi("cpu") .ge. 128 then __arch := AXP 4$ if f$getsyi("cpu") .ge. 128 then -
5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6$ if __arch .eqs. "" then __arch := UNK
5$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 7$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
6$ 8$
7$ cmd := mcr 'exe_dir'openssl req -config [-.apps]openssl-vms.cnf 9$ cmd := mcr 'exe_dir'openssl req -config [-.apps]openssl-vms.cnf
diff --git a/src/lib/libssl/test/trsa.com b/src/lib/libssl/test/trsa.com
index 6dbe59ef64..d3a8a605b7 100644
--- a/src/lib/libssl/test/trsa.com
+++ b/src/lib/libssl/test/trsa.com
@@ -1,7 +1,9 @@
1$! TRSA.COM -- Tests rsa keys 1$! TRSA.COM -- Tests rsa keys
2$ 2$
3$ __arch := VAX 3$ __arch := VAX
4$ if f$getsyi("cpu") .ge. 128 then __arch := AXP 4$ if f$getsyi("cpu") .ge. 128 then -
5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6$ if __arch .eqs. "" then __arch := UNK
5$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 7$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
6$ 8$
7$ set noon 9$ set noon
diff --git a/src/lib/libssl/test/tsid.com b/src/lib/libssl/test/tsid.com
index abd1d4d737..267ace1135 100644
--- a/src/lib/libssl/test/tsid.com
+++ b/src/lib/libssl/test/tsid.com
@@ -1,7 +1,9 @@
1$! TSID.COM -- Tests sid keys 1$! TSID.COM -- Tests sid keys
2$ 2$
3$ __arch := VAX 3$ __arch := VAX
4$ if f$getsyi("cpu") .ge. 128 then __arch := AXP 4$ if f$getsyi("cpu") .ge. 128 then -
5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6$ if __arch .eqs. "" then __arch := UNK
5$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 7$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
6$ 8$
7$ cmd := mcr 'exe_dir'openssl sess_id 9$ cmd := mcr 'exe_dir'openssl sess_id
diff --git a/src/lib/libssl/test/tverify.com b/src/lib/libssl/test/tverify.com
index 021d701d79..01431f4aac 100644
--- a/src/lib/libssl/test/tverify.com
+++ b/src/lib/libssl/test/tverify.com
@@ -1,29 +1,63 @@
1$! TVERIFY.COM 1$! TVERIFY.COM
2$ 2$
3$ __arch := VAX 3$ __arch := VAX
4$ if f$getsyi("cpu") .ge. 128 then __arch := AXP 4$ if f$getsyi("cpu") .ge. 128 then -
5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6$ if __arch .eqs. "" then __arch := UNK
7$!
8$ line_max = 255 ! Could be longer on modern non-VAX.
9$ temp_file_name = "certs_"+ f$getjpi( "", "PID")+ ".tmp"
5$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 10$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
6$ 11$ cmd = "mcr ''exe_dir'openssl verify ""-CAfile"" ''temp_file_name'"
7$ copy/concatenate [-.certs]*.pem certs.tmp 12$ cmd_len = f$length( cmd)
8$ 13$ pems = "[-.certs...]*.pem"
14$!
15$! Concatenate all the certificate files.
16$!
17$ copy /concatenate 'pems' 'temp_file_name'
18$!
19$! Loop through all the certificate files.
20$!
21$ args = ""
9$ old_f := 22$ old_f :=
10$ loop_certs: 23$ loop_file:
11$ verify := NO 24$ f = f$search( pems)
12$ more := YES 25$ if ((f .nes. "") .and. (f .nes. old_f))
13$ certs := 26$ then
14$ loop_certs2: 27$ old_f = f
15$ f = f$search("[-.certs]*.pem") 28$!
16$ if f .nes. "" .and. f .nes. old_f 29$! If this file name would over-extend the command line, then
30$! run the command now.
31$!
32$ if (cmd_len+ f$length( args)+ 1+ f$length( f) .gt. line_max)
33$ then
34$ if (args .eqs. "") then goto disaster
35$ 'cmd''args'
36$ args = ""
37$ endif
38$! Add the next file to the argument list.
39$ args = args+ " "+ f
40$ else
41$! No more files in the list
42$ goto loop_file_end
43$ endif
44$ goto loop_file
45$ loop_file_end:
46$!
47$! Run the command for any left-over arguments.
48$!
49$ if (args .nes. "")
17$ then 50$ then
18$ certs = certs + " [-.certs]" + f$parse(f,,,"NAME") + ".pem" 51$ 'cmd''args'
19$ verify := YES
20$ if f$length(certs) .lt. 180 then goto loop_certs2
21$ else
22$ more := NO
23$ endif 52$ endif
24$ certs = certs - " " 53$!
25$ 54$! Delete the temporary file.
26$ if verify then mcr 'exe_dir'openssl verify "-CAfile" certs.tmp 'certs' 55$!
27$ if more then goto loop_certs 56$ if (f$search( "''temp_file_name';*") .nes. "") then -
28$ 57 delete 'temp_file_name';*
29$ delete certs.tmp;* 58$!
59$ exit
60$!
61$ disaster:
62$ write sys$output " Command line too long. Doomed."
63$!
diff --git a/src/lib/libssl/test/tx509.com b/src/lib/libssl/test/tx509.com
index 7b2592f773..399eb01490 100644
--- a/src/lib/libssl/test/tx509.com
+++ b/src/lib/libssl/test/tx509.com
@@ -1,7 +1,9 @@
1$! TX509.COM -- Tests x509 certificates 1$! TX509.COM -- Tests x509 certificates
2$ 2$
3$ __arch := VAX 3$ __arch := VAX
4$ if f$getsyi("cpu") .ge. 128 then __arch := AXP 4$ if f$getsyi("cpu") .ge. 128 then -
5 __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
6$ if __arch .eqs. "" then __arch := UNK
5$ exe_dir := sys$disk:[-.'__arch'.exe.apps] 7$ exe_dir := sys$disk:[-.'__arch'.exe.apps]
6$ 8$
7$ cmd := mcr 'exe_dir'openssl x509 9$ cmd := mcr 'exe_dir'openssl x509