Add the constant time test to the VMS build and tests

Reviewed-by: Tim Hudson <tjh@openssl.org>

Conflicts:
	test/maketests.com
	test/tests.com
This commit is contained in:
Richard Levitte 2014-09-25 06:47:23 +02:00
parent eb269523bb
commit 0bfd0bff17
2 changed files with 9 additions and 2 deletions

View File

@ -146,7 +146,8 @@ $ TEST_FILES = "BNTEST,ECTEST,ECDSATEST,ECDHTEST,IDEATEST,"+ -
"MDC2TEST,RMDTEST,"+ - "MDC2TEST,RMDTEST,"+ -
"RANDTEST,DHTEST,ENGINETEST,"+ - "RANDTEST,DHTEST,ENGINETEST,"+ -
"BFTEST,CASTTEST,SSLTEST,EXPTEST,DSATEST,RSA_TEST,"+ - "BFTEST,CASTTEST,SSLTEST,EXPTEST,DSATEST,RSA_TEST,"+ -
"EVP_TEST,IGETEST,JPAKETEST,ASN1TEST" "EVP_TEST,IGETEST,JPAKETEST,"+ -
"ASN1TEST,CONSTANT_TIME_TEST"
$! Should we add MTTEST,PQ_TEST,LH_TEST,DIVTEST,TABTEST as well? $! Should we add MTTEST,PQ_TEST,LH_TEST,DIVTEST,TABTEST as well?
$! $!
$! Additional directory information. $! Additional directory information.
@ -183,6 +184,7 @@ $ T_D_EVP_TEST := [-.crypto.evp]
$ T_D_IGETEST := [-.test] $ T_D_IGETEST := [-.test]
$ T_D_JPAKETEST := [-.crypto.jpake] $ T_D_JPAKETEST := [-.crypto.jpake]
$ T_D_ASN1TEST := [-.test] $ T_D_ASN1TEST := [-.test]
$ T_D_CONSTANT_TIME_TEST := [-.crypto]
$! $!
$ TCPIP_PROGRAMS = ",," $ TCPIP_PROGRAMS = ",,"
$ IF COMPILER .EQS. "VAXC" THEN - $ IF COMPILER .EQS. "VAXC" THEN -

View File

@ -56,7 +56,7 @@ $ tests := -
test_enc,test_x509,test_rsa,test_crl,test_sid,- test_enc,test_x509,test_rsa,test_crl,test_sid,-
test_gen,test_req,test_pkcs7,test_verify,test_dh,test_dsa,- test_gen,test_req,test_pkcs7,test_verify,test_dh,test_dsa,-
test_ss,test_ca,test_engine,test_evp,test_ssl,test_tsa,test_ige,- test_ss,test_ca,test_engine,test_evp,test_ssl,test_tsa,test_ige,-
test_jpake,test_cms test_jpake,test_cms,test_constant_time
$ endif $ endif
$ tests = f$edit(tests,"COLLAPSE") $ tests = f$edit(tests,"COLLAPSE")
$ $
@ -92,6 +92,7 @@ $ EVPTEST := evp_test
$ IGETEST := igetest $ IGETEST := igetest
$ JPAKETEST := jpaketest $ JPAKETEST := jpaketest
$ ASN1TEST := asn1test $ ASN1TEST := asn1test
$ CONSTTIMETEST := constant_time_test
$! $!
$ tests_i = 0 $ tests_i = 0
$ loop_tests: $ loop_tests:
@ -357,6 +358,10 @@ $ ! Define the logical name used to find openssl.exe in the perl script.
$ define /user_mode osslx 'exe_dir' $ define /user_mode osslx 'exe_dir'
$ perl CMS-TEST.PL $ perl CMS-TEST.PL
$ return $ return
$ test_constant_time:
$ write sys$output "Test constant time utilities"
$ mcr 'texe_dir''consttimetest'
$ return
$ $
$ $
$ exit: $ exit: