summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2014-09-25 06:47:23 +0200
committerRichard Levitte <levitte@openssl.org>2014-10-15 11:32:17 +0200
commit0bfd0bff170f3ddd80d29cd622cb47574862ce27 (patch)
tree55c0552ad165788738bdd9bac882e8a0fe396715
parenteb269523bbb04365f50027594fa7a7d09868f548 (diff)
downloadopenssl-new-0bfd0bff170f3ddd80d29cd622cb47574862ce27.tar.gz
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
-rw-r--r--test/maketests.com4
-rw-r--r--test/tests.com7
2 files changed, 9 insertions, 2 deletions
diff --git a/test/maketests.com b/test/maketests.com
index 386e5cf3c1..8f8c9fdd63 100644
--- a/test/maketests.com
+++ b/test/maketests.com
@@ -146,7 +146,8 @@ $ TEST_FILES = "BNTEST,ECTEST,ECDSATEST,ECDHTEST,IDEATEST,"+ -
"MDC2TEST,RMDTEST,"+ -
"RANDTEST,DHTEST,ENGINETEST,"+ -
"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?
$!
$! Additional directory information.
@@ -183,6 +184,7 @@ $ T_D_EVP_TEST := [-.crypto.evp]
$ T_D_IGETEST := [-.test]
$ T_D_JPAKETEST := [-.crypto.jpake]
$ T_D_ASN1TEST := [-.test]
+$ T_D_CONSTANT_TIME_TEST := [-.crypto]
$!
$ TCPIP_PROGRAMS = ",,"
$ IF COMPILER .EQS. "VAXC" THEN -
diff --git a/test/tests.com b/test/tests.com
index a685ebc564..0a59816920 100644
--- a/test/tests.com
+++ b/test/tests.com
@@ -56,7 +56,7 @@ $ tests := -
test_enc,test_x509,test_rsa,test_crl,test_sid,-
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_jpake,test_cms
+ test_jpake,test_cms,test_constant_time
$ endif
$ tests = f$edit(tests,"COLLAPSE")
$
@@ -92,6 +92,7 @@ $ EVPTEST := evp_test
$ IGETEST := igetest
$ JPAKETEST := jpaketest
$ ASN1TEST := asn1test
+$ CONSTTIMETEST := constant_time_test
$!
$ tests_i = 0
$ 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'
$ perl CMS-TEST.PL
$ return
+$ test_constant_time:
+$ write sys$output "Test constant time utilities"
+$ mcr 'texe_dir''consttimetest'
+$ return
$
$
$ exit: