Don't run ECDH CMS tests if EC disabled.
[openssl.git] / test / testca.com
index 75020e3cc073c1bcaf3ce8427000f2c964ce9a8b..78cda9ec5a8608697ca6faa19e693bfa96e230b0 100644 (file)
@@ -1,17 +1,20 @@
 $! TESTCA.COM
 $
-$      __arch := VAX
-$      if f$getsyi("cpu") .ge. 128 then __arch := AXP
-$      exe_dir := sys$disk:[-.'__arch'.exe.apps]
+$      __arch = "VAX"
+$      if f$getsyi("cpu") .ge. 128 then -
+          __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
+$      if __arch .eqs. "" then __arch = "UNK"
+$!
+$       if (p1 .eqs. "64") then __arch = __arch+ "_64"
 $
-$      openssl := mcr 'exe_dir'openssl
+$      openssl = "mcr ''exe_dir'openssl"
 $
 $      SSLEAY_CONFIG="-config ""CAss.cnf"""
 $
 $      set noon
 $      if f$search("demoCA.dir") .nes. ""
 $      then
-$          @[-.utils]deltree [.demoCA]*.*
+$          @[-.util]deltree [.demoCA]*.*
 $          set file/prot=(S:RWED,O:RWED,G:RWED,W:RWED) demoCA.dir;*
 $          delete demoCA.dir;*
 $      endif
@@ -38,7 +41,7 @@ $     @[-.apps]CA.com -verify newcert.pem
 $      if $severity .ne. 1 then exit 3
 $
 $      set noon
-$      @[-.utils]deltree [.demoCA]*.*
+$      @[-.util]deltree [.demoCA]*.*
 $      set file/prot=(S:RWED,O:RWED,G:RWED,W:RWED) demoCA.dir;*
 $      delete demoCA.dir;*
 $      if f$search("newcert.pem") .nes. "" then delete newcert.pem;*