diff options
Diffstat (limited to 'src/lib/libssl/test')
| -rw-r--r-- | src/lib/libssl/test/Makefile | 537 | ||||
| -rw-r--r-- | src/lib/libssl/test/maketests.com | 205 | ||||
| -rw-r--r-- | src/lib/libssl/test/tcrl.com | 4 | ||||
| -rw-r--r-- | src/lib/libssl/test/testca.com | 38 | ||||
| -rw-r--r-- | src/lib/libssl/test/testenc.com | 5 | ||||
| -rw-r--r-- | src/lib/libssl/test/testgen.com | 4 | ||||
| -rw-r--r-- | src/lib/libssl/test/tests.com | 46 | ||||
| -rw-r--r-- | src/lib/libssl/test/testss.com | 4 | ||||
| -rw-r--r-- | src/lib/libssl/test/testssl.com | 4 | ||||
| -rw-r--r-- | src/lib/libssl/test/testtsa.com | 248 | ||||
| -rw-r--r-- | src/lib/libssl/test/tpkcs7.com | 4 | ||||
| -rw-r--r-- | src/lib/libssl/test/tpkcs7d.com | 4 | ||||
| -rw-r--r-- | src/lib/libssl/test/treq.com | 4 | ||||
| -rw-r--r-- | src/lib/libssl/test/trsa.com | 4 | ||||
| -rw-r--r-- | src/lib/libssl/test/tsid.com | 4 | ||||
| -rw-r--r-- | src/lib/libssl/test/tverify.com | 78 | ||||
| -rw-r--r-- | src/lib/libssl/test/tx509.com | 4 |
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 @@ | |||
| 5 | DIR= test | 5 | DIR= test |
| 6 | TOP= .. | 6 | TOP= .. |
| 7 | CC= cc | 7 | CC= cc |
| 8 | INCLUDES= -I$(TOP) -I../include $(KRB5_INCLUDES) -I$(TOP)/fips | 8 | INCLUDES= -I$(TOP) -I../include $(KRB5_INCLUDES) |
| 9 | CFLAG= -g | 9 | CFLAG= -g |
| 10 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | 10 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) |
| 11 | PERL= perl | 11 | PERL= perl |
| @@ -27,7 +27,6 @@ DLIBCRYPTO= ../libcrypto.a | |||
| 27 | DLIBSSL= ../libssl.a | 27 | DLIBSSL= ../libssl.a |
| 28 | LIBCRYPTO= -L.. -lcrypto | 28 | LIBCRYPTO= -L.. -lcrypto |
| 29 | LIBSSL= -L.. -lssl | 29 | LIBSSL= -L.. -lssl |
| 30 | LIBFIPS= -L.. -lfips | ||
| 31 | 30 | ||
| 32 | BNTEST= bntest | 31 | BNTEST= bntest |
| 33 | ECTEST= ectest | 32 | ECTEST= ectest |
| @@ -45,6 +44,7 @@ MD2TEST= md2test | |||
| 45 | MD4TEST= md4test | 44 | MD4TEST= md4test |
| 46 | MD5TEST= md5test | 45 | MD5TEST= md5test |
| 47 | HMACTEST= hmactest | 46 | HMACTEST= hmactest |
| 47 | WPTEST= wp_test | ||
| 48 | RC2TEST= rc2test | 48 | RC2TEST= rc2test |
| 49 | RC4TEST= rc4test | 49 | RC4TEST= rc4test |
| 50 | RC5TEST= rc5test | 50 | RC5TEST= rc5test |
| @@ -60,66 +60,40 @@ RSATEST= rsa_test | |||
| 60 | ENGINETEST= enginetest | 60 | ENGINETEST= enginetest |
| 61 | EVPTEST= evp_test | 61 | EVPTEST= evp_test |
| 62 | IGETEST= igetest | 62 | IGETEST= igetest |
| 63 | FIPS_SHATEST= fips_shatest | 63 | JPAKETEST= jpaketest |
| 64 | FIPS_DESTEST= fips_desmovs | 64 | ASN1TEST= asn1test |
| 65 | FIPS_RANDTEST= fips_randtest | ||
| 66 | FIPS_AESTEST= fips_aesavs | ||
| 67 | FIPS_HMACTEST= fips_hmactest | ||
| 68 | FIPS_RSAVTEST= fips_rsavtest | ||
| 69 | FIPS_RSASTEST= fips_rsastest | ||
| 70 | FIPS_RSAGTEST= fips_rsagtest | ||
| 71 | FIPS_DSATEST= fips_dsatest | ||
| 72 | FIPS_DSSVS= fips_dssvs | ||
| 73 | FIPS_RNGVS= fips_rngvs | ||
| 74 | FIPS_TEST_SUITE=fips_test_suite | ||
| 75 | 65 | ||
| 76 | TESTS= alltests | 66 | TESTS= alltests |
| 77 | 67 | ||
| 78 | EXE= $(BNTEST)$(EXE_EXT) $(ECTEST)$(EXE_EXT) $(ECDSATEST)$(EXE_EXT) $(ECDHTEST)$(EXE_EXT) $(IDEATEST)$(EXE_EXT) \ | 68 | EXE= $(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 | ||
| 95 | OBJ= $(BNTEST).o $(ECTEST).o $(ECDSATEST).o $(ECDHTEST).o $(IDEATEST).o \ | 80 | OBJ= $(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 | |||
| 110 | SRC= $(BNTEST).c $(ECTEST).c $(ECDSATEST).c $(ECDHTEST).c $(IDEATEST).c \ | 89 | SRC= $(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 | ||
| 124 | EXHEADER= | 98 | EXHEADER= |
| 125 | HEADER= $(EXHEADER) | 99 | HEADER= $(EXHEADER) |
| @@ -156,12 +130,13 @@ apps: | |||
| 156 | 130 | ||
| 157 | alltests: \ | 131 | alltests: \ |
| 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 | ||
| 166 | test_evp: | 141 | test_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 | ||
| 184 | test_mdc2: | 156 | test_mdc2: |
| 185 | ../util/shlib_wrap.sh ./$(MDC2TEST) | 157 | ../util/shlib_wrap.sh ./$(MDC2TEST) |
| @@ -193,6 +165,9 @@ test_md4: | |||
| 193 | test_hmac: | 165 | test_hmac: |
| 194 | ../util/shlib_wrap.sh ./$(HMACTEST) | 166 | ../util/shlib_wrap.sh ./$(HMACTEST) |
| 195 | 167 | ||
| 168 | test_wp: | ||
| 169 | ../util/shlib_wrap.sh ./$(WPTEST) | ||
| 170 | |||
| 196 | test_md2: | 171 | test_md2: |
| 197 | ../util/shlib_wrap.sh ./$(MD2TEST) | 172 | ../util/shlib_wrap.sh ./$(MD2TEST) |
| 198 | 173 | ||
| @@ -216,12 +191,9 @@ test_rc5: | |||
| 216 | 191 | ||
| 217 | test_rand: | 192 | test_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 | ||
| 223 | test_enc: | 195 | test_enc: |
| 224 | sh ./testenc | 196 | @sh ./testenc |
| 225 | 197 | ||
| 226 | test_x509: | 198 | test_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 | ||
| 290 | test_gen: | 259 | test_gen: |
| 291 | @echo "Generate and verify a certificate request" | 260 | @echo "Generate and verify a certificate request" |
| @@ -305,9 +274,6 @@ test_engine: | |||
| 305 | test_ssl: keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \ | 274 | test_ssl: keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \ |
| 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 | ||
| 294 | test_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 | |||
| 328 | test_ige: $(IGETEST)$(EXE_EXT) | 301 | test_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 | ||
| 332 | test_jpake: jpaketest$(EXE_EXT) | 305 | test_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 | |||
| 309 | test_cms: | ||
| 310 | @echo "CMS consistency test" | ||
| 311 | $(PERL) cms-test.pl | ||
| 335 | 312 | ||
| 336 | lint: | 313 | lint: |
| 337 | lint -DLINT $(INCLUDES) $(SRC)>fluff | 314 | lint -DLINT $(INCLUDES) $(SRC)>fluff |
| @@ -346,9 +323,11 @@ depend: | |||
| 346 | dclean: | 323 | dclean: |
| 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 | ||
| 350 | clean: | 329 | clean: |
| 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 | ||
| 399 | FIPS_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 | |||
| 415 | FIPS_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 | ||
| 527 | jpaketest$(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 | ||
| 540 | dummytest$(EXE_EXT): dummytest.o $(DLIBCRYPTO) | 459 | dummytest$(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 | ||
| 464 | asn1test.o: ../include/openssl/asn1.h ../include/openssl/asn1_mac.h | ||
| 465 | asn1test.o: ../include/openssl/bio.h ../include/openssl/buffer.h | ||
| 466 | asn1test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
| 467 | asn1test.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | ||
| 468 | asn1test.o: ../include/openssl/ecdsa.h ../include/openssl/evp.h | ||
| 469 | asn1test.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | ||
| 470 | asn1test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | ||
| 471 | asn1test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | ||
| 472 | asn1test.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h | ||
| 473 | asn1test.o: ../include/openssl/sha.h ../include/openssl/stack.h | ||
| 474 | asn1test.o: ../include/openssl/symhacks.h ../include/openssl/x509.h | ||
| 475 | asn1test.o: ../include/openssl/x509_vfy.h asn1test.c | ||
| 545 | bftest.o: ../e_os.h ../include/openssl/blowfish.h ../include/openssl/e_os2.h | 476 | bftest.o: ../e_os.h ../include/openssl/blowfish.h ../include/openssl/e_os2.h |
| 546 | bftest.o: ../include/openssl/opensslconf.h bftest.c | 477 | bftest.o: ../include/openssl/opensslconf.h bftest.c |
| 547 | bntest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 478 | bntest.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 | |||
| 550 | bntest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 481 | bntest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 551 | bntest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | 482 | bntest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h |
| 552 | bntest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h | 483 | bntest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h |
| 553 | bntest.o: ../include/openssl/evp.h ../include/openssl/fips.h | 484 | bntest.o: ../include/openssl/evp.h ../include/openssl/lhash.h |
| 554 | bntest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 485 | bntest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
| 555 | bntest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 486 | bntest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
| 556 | bntest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 487 | bntest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h |
| 557 | bntest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 488 | bntest.o: ../include/openssl/rand.h ../include/openssl/rsa.h |
| 558 | bntest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 489 | bntest.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
| 559 | bntest.o: ../include/openssl/sha.h ../include/openssl/stack.h | 490 | bntest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
| 560 | bntest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h | 491 | bntest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h bntest.c |
| 561 | bntest.o: ../include/openssl/x509_vfy.h bntest.c | ||
| 562 | casttest.o: ../e_os.h ../include/openssl/cast.h ../include/openssl/e_os2.h | 492 | casttest.o: ../e_os.h ../include/openssl/cast.h ../include/openssl/e_os2.h |
| 563 | casttest.o: ../include/openssl/opensslconf.h casttest.c | 493 | casttest.o: ../include/openssl/opensslconf.h casttest.c |
| 564 | destest.o: ../include/openssl/des.h ../include/openssl/des_old.h | 494 | destest.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 | |||
| 597 | ecdsatest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | 527 | ecdsatest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h |
| 598 | ecdsatest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h | 528 | ecdsatest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h |
| 599 | ecdsatest.o: ../include/openssl/err.h ../include/openssl/evp.h | 529 | ecdsatest.o: ../include/openssl/err.h ../include/openssl/evp.h |
| 600 | ecdsatest.o: ../include/openssl/fips.h ../include/openssl/lhash.h | 530 | ecdsatest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h |
| 601 | ecdsatest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 531 | ecdsatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 602 | ecdsatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 532 | ecdsatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 603 | ecdsatest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h | 533 | ecdsatest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 604 | ecdsatest.o: ../include/openssl/rand.h ../include/openssl/safestack.h | 534 | ecdsatest.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
| 605 | ecdsatest.o: ../include/openssl/sha.h ../include/openssl/stack.h | 535 | ecdsatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
| 606 | ecdsatest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h | 536 | ecdsatest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h |
| 607 | ecdsatest.o: ../include/openssl/x509_vfy.h ecdsatest.c | 537 | ecdsatest.o: ecdsatest.c |
| 608 | ectest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 538 | ectest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
| 609 | ectest.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 539 | ectest.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 610 | ectest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 540 | ectest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
| 611 | ectest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | 541 | ectest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h |
| 612 | ectest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h | 542 | ectest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h |
| 613 | ectest.o: ../include/openssl/err.h ../include/openssl/evp.h | 543 | ectest.o: ../include/openssl/err.h ../include/openssl/evp.h |
| 614 | ectest.o: ../include/openssl/fips.h ../include/openssl/lhash.h | 544 | ectest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h |
| 615 | ectest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 545 | ectest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 616 | ectest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 546 | ectest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 617 | ectest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h | 547 | ectest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 618 | ectest.o: ../include/openssl/rand.h ../include/openssl/safestack.h | 548 | ectest.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
| 619 | ectest.o: ../include/openssl/sha.h ../include/openssl/stack.h | 549 | ectest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
| 620 | ectest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h | 550 | ectest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h ectest.c |
| 621 | ectest.o: ../include/openssl/x509_vfy.h ectest.c | ||
| 622 | enginetest.o: ../include/openssl/asn1.h ../include/openssl/bio.h | 551 | enginetest.o: ../include/openssl/asn1.h ../include/openssl/bio.h |
| 623 | enginetest.o: ../include/openssl/buffer.h ../include/openssl/crypto.h | 552 | enginetest.o: ../include/openssl/buffer.h ../include/openssl/crypto.h |
| 624 | enginetest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h | 553 | enginetest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h |
| 625 | enginetest.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h | 554 | enginetest.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h |
| 626 | enginetest.o: ../include/openssl/engine.h ../include/openssl/err.h | 555 | enginetest.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 627 | enginetest.o: ../include/openssl/evp.h ../include/openssl/fips.h | 556 | enginetest.o: ../include/openssl/evp.h ../include/openssl/lhash.h |
| 628 | enginetest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 557 | enginetest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
| 629 | enginetest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 558 | enginetest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
| 630 | enginetest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 559 | enginetest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h |
| 631 | enginetest.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h | 560 | enginetest.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
| 632 | enginetest.o: ../include/openssl/sha.h ../include/openssl/stack.h | 561 | enginetest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
| 633 | enginetest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h | 562 | enginetest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h |
| 634 | enginetest.o: ../include/openssl/x509_vfy.h enginetest.c | 563 | enginetest.o: enginetest.c |
| 635 | evp_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 564 | evp_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
| 636 | evp_test.o: ../include/openssl/buffer.h ../include/openssl/conf.h | 565 | evp_test.o: ../include/openssl/buffer.h ../include/openssl/conf.h |
| 637 | evp_test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 566 | evp_test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
| 638 | evp_test.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | 567 | evp_test.o: ../include/openssl/ec.h ../include/openssl/ecdh.h |
| 639 | evp_test.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h | 568 | evp_test.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h |
| 640 | evp_test.o: ../include/openssl/err.h ../include/openssl/evp.h | 569 | evp_test.o: ../include/openssl/err.h ../include/openssl/evp.h |
| 641 | evp_test.o: ../include/openssl/fips.h ../include/openssl/lhash.h | 570 | evp_test.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h |
| 642 | evp_test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 571 | evp_test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 643 | evp_test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 572 | evp_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 644 | evp_test.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h | 573 | evp_test.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h |
| 645 | evp_test.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 574 | evp_test.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 646 | evp_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 575 | evp_test.o: ../include/openssl/symhacks.h ../include/openssl/x509.h |
| 647 | evp_test.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h evp_test.c | 576 | evp_test.o: ../include/openssl/x509_vfy.h evp_test.c |
| 648 | exptest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h | 577 | exptest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h |
| 649 | exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 578 | exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
| 650 | exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h | 579 | exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h |
| @@ -652,186 +581,14 @@ exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | |||
| 652 | exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h | 581 | exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h |
| 653 | exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 582 | exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
| 654 | exptest.o: ../include/openssl/symhacks.h exptest.c | 583 | exptest.o: ../include/openssl/symhacks.h exptest.c |
| 655 | fips_aesavs.o: ../e_os.h ../fips/fips_utl.h ../include/openssl/aes.h | ||
| 656 | fips_aesavs.o: ../include/openssl/asn1.h ../include/openssl/bio.h | ||
| 657 | fips_aesavs.o: ../include/openssl/bn.h ../include/openssl/crypto.h | ||
| 658 | fips_aesavs.o: ../include/openssl/e_os2.h ../include/openssl/err.h | ||
| 659 | fips_aesavs.o: ../include/openssl/evp.h ../include/openssl/fips.h | ||
| 660 | fips_aesavs.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | ||
| 661 | fips_aesavs.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | ||
| 662 | fips_aesavs.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | ||
| 663 | fips_aesavs.o: ../include/openssl/safestack.h ../include/openssl/stack.h | ||
| 664 | fips_aesavs.o: ../include/openssl/symhacks.h fips_aesavs.c | ||
| 665 | fips_desmovs.o: ../e_os.h ../fips/fips_utl.h ../include/openssl/asn1.h | ||
| 666 | fips_desmovs.o: ../include/openssl/bio.h ../include/openssl/bn.h | ||
| 667 | fips_desmovs.o: ../include/openssl/crypto.h ../include/openssl/des.h | ||
| 668 | fips_desmovs.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h | ||
| 669 | fips_desmovs.o: ../include/openssl/err.h ../include/openssl/evp.h | ||
| 670 | fips_desmovs.o: ../include/openssl/fips.h ../include/openssl/lhash.h | ||
| 671 | fips_desmovs.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | ||
| 672 | fips_desmovs.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
| 673 | fips_desmovs.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h | ||
| 674 | fips_desmovs.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | ||
| 675 | fips_desmovs.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h | ||
| 676 | fips_desmovs.o: fips_desmovs.c | ||
| 677 | fips_dsatest.o: ../e_os.h ../fips/fips_utl.h ../include/openssl/asn1.h | ||
| 678 | fips_dsatest.o: ../include/openssl/bio.h ../include/openssl/bn.h | ||
| 679 | fips_dsatest.o: ../include/openssl/buffer.h ../include/openssl/crypto.h | ||
| 680 | fips_dsatest.o: ../include/openssl/des.h ../include/openssl/des_old.h | ||
| 681 | fips_dsatest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | ||
| 682 | fips_dsatest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | ||
| 683 | fips_dsatest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h | ||
| 684 | fips_dsatest.o: ../include/openssl/err.h ../include/openssl/evp.h | ||
| 685 | fips_dsatest.o: ../include/openssl/fips.h ../include/openssl/fips_rand.h | ||
| 686 | fips_dsatest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | ||
| 687 | fips_dsatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | ||
| 688 | fips_dsatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | ||
| 689 | fips_dsatest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | ||
| 690 | fips_dsatest.o: ../include/openssl/safestack.h ../include/openssl/sha.h | ||
| 691 | fips_dsatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | ||
| 692 | fips_dsatest.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h | ||
| 693 | fips_dsatest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h | ||
| 694 | fips_dsatest.o: fips_dsatest.c | ||
| 695 | fips_dssvs.o: ../fips/fips_utl.h ../include/openssl/asn1.h | ||
| 696 | fips_dssvs.o: ../include/openssl/bio.h ../include/openssl/bn.h | ||
| 697 | fips_dssvs.o: ../include/openssl/crypto.h ../include/openssl/dsa.h | ||
| 698 | fips_dssvs.o: ../include/openssl/e_os2.h ../include/openssl/err.h | ||
| 699 | fips_dssvs.o: ../include/openssl/evp.h ../include/openssl/fips.h | ||
| 700 | fips_dssvs.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | ||
| 701 | fips_dssvs.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | ||
| 702 | fips_dssvs.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | ||
| 703 | fips_dssvs.o: ../include/openssl/safestack.h ../include/openssl/stack.h | ||
| 704 | fips_dssvs.o: ../include/openssl/symhacks.h fips_dssvs.c | ||
| 705 | fips_hmactest.o: ../fips/fips_utl.h ../include/openssl/asn1.h | ||
| 706 | fips_hmactest.o: ../include/openssl/bio.h ../include/openssl/bn.h | ||
| 707 | fips_hmactest.o: ../include/openssl/buffer.h ../include/openssl/conf.h | ||
| 708 | fips_hmactest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
| 709 | fips_hmactest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | ||
| 710 | fips_hmactest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h | ||
| 711 | fips_hmactest.o: ../include/openssl/evp.h ../include/openssl/fips.h | ||
| 712 | fips_hmactest.o: ../include/openssl/hmac.h ../include/openssl/lhash.h | ||
| 713 | fips_hmactest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | ||
| 714 | fips_hmactest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
| 715 | fips_hmactest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h | ||
| 716 | fips_hmactest.o: ../include/openssl/safestack.h ../include/openssl/sha.h | ||
| 717 | fips_hmactest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | ||
| 718 | fips_hmactest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h | ||
| 719 | fips_hmactest.o: ../include/openssl/x509v3.h fips_hmactest.c | ||
| 720 | fips_randtest.o: ../e_os.h ../fips/fips_utl.h ../include/openssl/bio.h | ||
| 721 | fips_randtest.o: ../include/openssl/bn.h ../include/openssl/crypto.h | ||
| 722 | fips_randtest.o: ../include/openssl/des.h ../include/openssl/des_old.h | ||
| 723 | fips_randtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h | ||
| 724 | fips_randtest.o: ../include/openssl/fips_rand.h ../include/openssl/lhash.h | ||
| 725 | fips_randtest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
| 726 | fips_randtest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h | ||
| 727 | fips_randtest.o: ../include/openssl/safestack.h ../include/openssl/stack.h | ||
| 728 | fips_randtest.o: ../include/openssl/symhacks.h ../include/openssl/ui.h | ||
| 729 | fips_randtest.o: ../include/openssl/ui_compat.h fips_randtest.c | ||
| 730 | fips_rngvs.o: ../fips/fips_utl.h ../include/openssl/asn1.h | ||
| 731 | fips_rngvs.o: ../include/openssl/bio.h ../include/openssl/bn.h | ||
| 732 | fips_rngvs.o: ../include/openssl/buffer.h ../include/openssl/conf.h | ||
| 733 | fips_rngvs.o: ../include/openssl/crypto.h ../include/openssl/des.h | ||
| 734 | fips_rngvs.o: ../include/openssl/des_old.h ../include/openssl/dsa.h | ||
| 735 | fips_rngvs.o: ../include/openssl/e_os2.h ../include/openssl/ec.h | ||
| 736 | fips_rngvs.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h | ||
| 737 | fips_rngvs.o: ../include/openssl/err.h ../include/openssl/evp.h | ||
| 738 | fips_rngvs.o: ../include/openssl/fips.h ../include/openssl/fips_rand.h | ||
| 739 | fips_rngvs.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | ||
| 740 | fips_rngvs.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | ||
| 741 | fips_rngvs.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | ||
| 742 | fips_rngvs.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | ||
| 743 | fips_rngvs.o: ../include/openssl/safestack.h ../include/openssl/sha.h | ||
| 744 | fips_rngvs.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | ||
| 745 | fips_rngvs.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h | ||
| 746 | fips_rngvs.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h | ||
| 747 | fips_rngvs.o: ../include/openssl/x509v3.h fips_rngvs.c | ||
| 748 | fips_rsagtest.o: ../fips/fips_utl.h ../include/openssl/asn1.h | ||
| 749 | fips_rsagtest.o: ../include/openssl/bio.h ../include/openssl/bn.h | ||
| 750 | fips_rsagtest.o: ../include/openssl/buffer.h ../include/openssl/conf.h | ||
| 751 | fips_rsagtest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
| 752 | fips_rsagtest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | ||
| 753 | fips_rsagtest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h | ||
| 754 | fips_rsagtest.o: ../include/openssl/evp.h ../include/openssl/fips.h | ||
| 755 | fips_rsagtest.o: ../include/openssl/hmac.h ../include/openssl/lhash.h | ||
| 756 | fips_rsagtest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | ||
| 757 | fips_rsagtest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
| 758 | fips_rsagtest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h | ||
| 759 | fips_rsagtest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | ||
| 760 | fips_rsagtest.o: ../include/openssl/sha.h ../include/openssl/stack.h | ||
| 761 | fips_rsagtest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h | ||
| 762 | fips_rsagtest.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h | ||
| 763 | fips_rsagtest.o: fips_rsagtest.c | ||
| 764 | fips_rsastest.o: ../fips/fips_utl.h ../include/openssl/asn1.h | ||
| 765 | fips_rsastest.o: ../include/openssl/bio.h ../include/openssl/bn.h | ||
| 766 | fips_rsastest.o: ../include/openssl/buffer.h ../include/openssl/conf.h | ||
| 767 | fips_rsastest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
| 768 | fips_rsastest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | ||
| 769 | fips_rsastest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h | ||
| 770 | fips_rsastest.o: ../include/openssl/evp.h ../include/openssl/fips.h | ||
| 771 | fips_rsastest.o: ../include/openssl/hmac.h ../include/openssl/lhash.h | ||
| 772 | fips_rsastest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | ||
| 773 | fips_rsastest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
| 774 | fips_rsastest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h | ||
| 775 | fips_rsastest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | ||
| 776 | fips_rsastest.o: ../include/openssl/sha.h ../include/openssl/stack.h | ||
| 777 | fips_rsastest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h | ||
| 778 | fips_rsastest.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h | ||
| 779 | fips_rsastest.o: fips_rsastest.c | ||
| 780 | fips_rsavtest.o: ../fips/fips_utl.h ../include/openssl/asn1.h | ||
| 781 | fips_rsavtest.o: ../include/openssl/bio.h ../include/openssl/bn.h | ||
| 782 | fips_rsavtest.o: ../include/openssl/buffer.h ../include/openssl/conf.h | ||
| 783 | fips_rsavtest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
| 784 | fips_rsavtest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | ||
| 785 | fips_rsavtest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h | ||
| 786 | fips_rsavtest.o: ../include/openssl/evp.h ../include/openssl/fips.h | ||
| 787 | fips_rsavtest.o: ../include/openssl/hmac.h ../include/openssl/lhash.h | ||
| 788 | fips_rsavtest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | ||
| 789 | fips_rsavtest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
| 790 | fips_rsavtest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h | ||
| 791 | fips_rsavtest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | ||
| 792 | fips_rsavtest.o: ../include/openssl/sha.h ../include/openssl/stack.h | ||
| 793 | fips_rsavtest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h | ||
| 794 | fips_rsavtest.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h | ||
| 795 | fips_rsavtest.o: fips_rsavtest.c | ||
| 796 | fips_shatest.o: ../fips/fips_utl.h ../include/openssl/asn1.h | ||
| 797 | fips_shatest.o: ../include/openssl/bio.h ../include/openssl/bn.h | ||
| 798 | fips_shatest.o: ../include/openssl/buffer.h ../include/openssl/conf.h | ||
| 799 | fips_shatest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
| 800 | fips_shatest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | ||
| 801 | fips_shatest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h | ||
| 802 | fips_shatest.o: ../include/openssl/evp.h ../include/openssl/fips.h | ||
| 803 | fips_shatest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | ||
| 804 | fips_shatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | ||
| 805 | fips_shatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | ||
| 806 | fips_shatest.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h | ||
| 807 | fips_shatest.o: ../include/openssl/sha.h ../include/openssl/stack.h | ||
| 808 | fips_shatest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h | ||
| 809 | fips_shatest.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h | ||
| 810 | fips_shatest.o: fips_shatest.c | ||
| 811 | fips_test_suite.o: ../fips/fips_utl.h ../include/openssl/aes.h | ||
| 812 | fips_test_suite.o: ../include/openssl/asn1.h ../include/openssl/bio.h | ||
| 813 | fips_test_suite.o: ../include/openssl/bn.h ../include/openssl/crypto.h | ||
| 814 | fips_test_suite.o: ../include/openssl/des.h ../include/openssl/des_old.h | ||
| 815 | fips_test_suite.o: ../include/openssl/dh.h ../include/openssl/dsa.h | ||
| 816 | fips_test_suite.o: ../include/openssl/e_os2.h ../include/openssl/err.h | ||
| 817 | fips_test_suite.o: ../include/openssl/evp.h ../include/openssl/fips.h | ||
| 818 | fips_test_suite.o: ../include/openssl/hmac.h ../include/openssl/lhash.h | ||
| 819 | fips_test_suite.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | ||
| 820 | fips_test_suite.o: ../include/openssl/opensslconf.h | ||
| 821 | fips_test_suite.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | ||
| 822 | fips_test_suite.o: ../include/openssl/rand.h ../include/openssl/rsa.h | ||
| 823 | fips_test_suite.o: ../include/openssl/safestack.h ../include/openssl/sha.h | ||
| 824 | fips_test_suite.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | ||
| 825 | fips_test_suite.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h | ||
| 826 | fips_test_suite.o: fips_test_suite.c | ||
| 827 | hmactest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 584 | hmactest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
| 828 | hmactest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 585 | hmactest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
| 829 | hmactest.o: ../include/openssl/evp.h ../include/openssl/fips.h | 586 | hmactest.o: ../include/openssl/evp.h ../include/openssl/hmac.h |
| 830 | hmactest.o: ../include/openssl/hmac.h ../include/openssl/md5.h | 587 | hmactest.o: ../include/openssl/md5.h ../include/openssl/obj_mac.h |
| 831 | hmactest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 588 | hmactest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 832 | hmactest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 589 | hmactest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 833 | hmactest.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h | 590 | hmactest.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
| 834 | hmactest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h hmactest.c | 591 | hmactest.o: ../include/openssl/symhacks.h hmactest.c |
| 835 | ideatest.o: ../e_os.h ../include/openssl/e_os2.h ../include/openssl/idea.h | 592 | ideatest.o: ../e_os.h ../include/openssl/e_os2.h ../include/openssl/idea.h |
| 836 | ideatest.o: ../include/openssl/opensslconf.h ideatest.c | 593 | ideatest.o: ../include/openssl/opensslconf.h ideatest.c |
| 837 | igetest.o: ../include/openssl/aes.h ../include/openssl/e_os2.h | 594 | igetest.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 | |||
| 842 | jpaketest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 599 | jpaketest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 843 | jpaketest.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 600 | jpaketest.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
| 844 | jpaketest.o: ../include/openssl/symhacks.h jpaketest.c | 601 | jpaketest.o: ../include/openssl/symhacks.h jpaketest.c |
| 845 | md2test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 602 | md2test.o: ../include/openssl/buffer.h ../include/openssl/crypto.h |
| 846 | md2test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 603 | md2test.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h |
| 847 | md2test.o: ../include/openssl/evp.h ../include/openssl/fips.h | ||
| 848 | md2test.o: ../include/openssl/md2.h ../include/openssl/obj_mac.h | ||
| 849 | md2test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | ||
| 850 | md2test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 604 | md2test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 851 | md2test.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 605 | md2test.o: ../include/openssl/safestack.h ../include/openssl/stack.h |
| 852 | md2test.o: ../include/openssl/symhacks.h md2test.c | 606 | md2test.o: ../include/openssl/symhacks.h md2test.c |
| 853 | md4test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 607 | md4test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
| 854 | md4test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 608 | md4test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
| 855 | md4test.o: ../include/openssl/evp.h ../include/openssl/fips.h | 609 | md4test.o: ../include/openssl/evp.h ../include/openssl/md4.h |
| 856 | md4test.o: ../include/openssl/md4.h ../include/openssl/obj_mac.h | 610 | md4test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
| 857 | md4test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 611 | md4test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
| 858 | md4test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 612 | md4test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h |
| 859 | md4test.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 613 | md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h md4test.c |
| 860 | md4test.o: ../include/openssl/symhacks.h md4test.c | ||
| 861 | md5test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 614 | md5test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
| 862 | md5test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 615 | md5test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
| 863 | md5test.o: ../include/openssl/evp.h ../include/openssl/fips.h | 616 | md5test.o: ../include/openssl/evp.h ../include/openssl/md5.h |
| 864 | md5test.o: ../include/openssl/md5.h ../include/openssl/obj_mac.h | 617 | md5test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
| 865 | md5test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 618 | md5test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
| 866 | md5test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 619 | md5test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h |
| 867 | md5test.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 620 | md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h md5test.c |
| 868 | md5test.o: ../include/openssl/symhacks.h md5test.c | 621 | mdc2test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
| 869 | mdc2test.o: ../include/openssl/buffer.h ../include/openssl/crypto.h | 622 | mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 870 | mdc2test.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h | 623 | mdc2test.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h |
| 871 | mdc2test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 624 | mdc2test.o: ../include/openssl/evp.h ../include/openssl/mdc2.h |
| 872 | mdc2test.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 625 | mdc2test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
| 873 | mdc2test.o: ../include/openssl/symhacks.h mdc2test.c | 626 | mdc2test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
| 627 | mdc2test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h | ||
| 628 | mdc2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | ||
| 629 | mdc2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c | ||
| 874 | randtest.o: ../e_os.h ../include/openssl/e_os2.h | 630 | randtest.o: ../e_os.h ../include/openssl/e_os2.h |
| 875 | randtest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h | 631 | randtest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h |
| 876 | randtest.o: ../include/openssl/rand.h randtest.c | 632 | randtest.o: ../include/openssl/rand.h randtest.c |
| @@ -886,12 +642,11 @@ rc5test.o: ../include/openssl/safestack.h ../include/openssl/stack.h | |||
| 886 | rc5test.o: ../include/openssl/symhacks.h rc5test.c | 642 | rc5test.o: ../include/openssl/symhacks.h rc5test.c |
| 887 | rmdtest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 643 | rmdtest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
| 888 | rmdtest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 644 | rmdtest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
| 889 | rmdtest.o: ../include/openssl/evp.h ../include/openssl/fips.h | 645 | rmdtest.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h |
| 890 | rmdtest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 646 | rmdtest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 891 | rmdtest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 647 | rmdtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 892 | rmdtest.o: ../include/openssl/ossl_typ.h ../include/openssl/ripemd.h | 648 | rmdtest.o: ../include/openssl/ripemd.h ../include/openssl/safestack.h |
| 893 | rmdtest.o: ../include/openssl/safestack.h ../include/openssl/stack.h | 649 | rmdtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h rmdtest.c |
| 894 | rmdtest.o: ../include/openssl/symhacks.h rmdtest.c | ||
| 895 | rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 650 | rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
| 896 | rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h | 651 | rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h |
| 897 | rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/err.h | 652 | rsa_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 | |||
| 902 | rsa_test.o: ../include/openssl/symhacks.h rsa_test.c | 657 | rsa_test.o: ../include/openssl/symhacks.h rsa_test.c |
| 903 | sha1test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 658 | sha1test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
| 904 | sha1test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 659 | sha1test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
| 905 | sha1test.o: ../include/openssl/evp.h ../include/openssl/fips.h | 660 | sha1test.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h |
| 906 | sha1test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 661 | sha1test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 907 | sha1test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 662 | sha1test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 908 | sha1test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h | 663 | sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
| 909 | sha1test.o: ../include/openssl/sha.h ../include/openssl/stack.h | 664 | sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h sha1test.c |
| 910 | sha1test.o: ../include/openssl/symhacks.h sha1test.c | ||
| 911 | shatest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 665 | shatest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
| 912 | shatest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 666 | shatest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
| 913 | shatest.o: ../include/openssl/evp.h ../include/openssl/fips.h | 667 | shatest.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h |
| 914 | shatest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 668 | shatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 915 | shatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 669 | shatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 916 | shatest.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h | 670 | shatest.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
| 917 | shatest.o: ../include/openssl/sha.h ../include/openssl/stack.h | 671 | shatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h shatest.c |
| 918 | shatest.o: ../include/openssl/symhacks.h shatest.c | ||
| 919 | ssltest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 672 | ssltest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
| 920 | ssltest.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 673 | ssltest.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 921 | ssltest.o: ../include/openssl/comp.h ../include/openssl/conf.h | 674 | ssltest.o: ../include/openssl/comp.h ../include/openssl/conf.h |
| @@ -924,13 +677,12 @@ ssltest.o: ../include/openssl/dsa.h ../include/openssl/dtls1.h | |||
| 924 | ssltest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h | 677 | ssltest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h |
| 925 | ssltest.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h | 678 | ssltest.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h |
| 926 | ssltest.o: ../include/openssl/engine.h ../include/openssl/err.h | 679 | ssltest.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 927 | ssltest.o: ../include/openssl/evp.h ../include/openssl/fips.h | 680 | ssltest.o: ../include/openssl/evp.h ../include/openssl/hmac.h |
| 928 | ssltest.o: ../include/openssl/hmac.h ../include/openssl/kssl.h | 681 | ssltest.o: ../include/openssl/kssl.h ../include/openssl/lhash.h |
| 929 | ssltest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 682 | ssltest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
| 930 | ssltest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 683 | ssltest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
| 931 | ssltest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 684 | ssltest.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h |
| 932 | ssltest.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 685 | ssltest.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h |
| 933 | ssltest.o: ../include/openssl/pkcs7.h ../include/openssl/pq_compat.h | ||
| 934 | ssltest.o: ../include/openssl/pqueue.h ../include/openssl/rand.h | 686 | ssltest.o: ../include/openssl/pqueue.h ../include/openssl/rand.h |
| 935 | ssltest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 687 | ssltest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 936 | ssltest.o: ../include/openssl/sha.h ../include/openssl/ssl.h | 688 | ssltest.o: ../include/openssl/sha.h ../include/openssl/ssl.h |
| @@ -939,3 +691,8 @@ ssltest.o: ../include/openssl/ssl3.h ../include/openssl/stack.h | |||
| 939 | ssltest.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h | 691 | ssltest.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h |
| 940 | ssltest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h | 692 | ssltest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h |
| 941 | ssltest.o: ../include/openssl/x509v3.h ssltest.c | 693 | ssltest.o: ../include/openssl/x509v3.h ssltest.c |
| 694 | wp_test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
| 695 | wp_test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
| 696 | wp_test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h | ||
| 697 | wp_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | ||
| 698 | wp_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 | ! |
| 279 | SYS$SHARE:VAXCRTL.EXE/SHARE | 290 | SYS$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 | ! |
| 308 | GNU_CC:[000000]GCCLIB/LIBRARY | 319 | GNU_CC:[000000]GCCLIB.OLB /LIBRARY |
| 309 | SYS$SHARE:VAXCRTL/SHARE | 320 | SYS$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 | ! |
| 343 | SYS$SHARE:DECC$SHR.EXE/SHARE | 354 | SYS$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 | ! |
| 358 | SYS$SHARE:CMA$OPEN_LIB_SHR/SHARE | 369 | SYS$SHARE:CMA$OPEN_LIB_SHR.EXE /SHAREABLE |
| 359 | SYS$SHARE:CMA$OPEN_RTL/SHARE | 370 | SYS$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 |
