Set Enveloped data version to 2 if ktri version not zero.
[openssl.git] / test / tx509.com
index cd23a354fb59ab976bacafd06eab1ca4f0bb3a77..93ce988b418bd0d3ffdfb24a95042feae7d27f0e 100644 (file)
@@ -1,14 +1,17 @@
 $! TX509.COM  --  Tests x509 certificates
 $
-$      __arch := VAX
+$      __arch = "VAX"
 $      if f$getsyi("cpu") .ge. 128 then -
-          __arch := f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
-$      if __arch .eqs. "" then __arch := UNK
-$      exe_dir := sys$disk:[-.'__arch'.exe.apps]
+          __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE")
+$      if __arch .eqs. "" then __arch = "UNK"
+$!
+$      if (p2 .eqs. "64") then __arch = __arch+ "_64"
+$!
+$      exe_dir = "sys$disk:[-.''__arch'.exe.apps]"
 $
-$      cmd := mcr 'exe_dir'openssl x509
+$      cmd = "mcr ''exe_dir'openssl x509"
 $
-$      t := testx509.pem
+$      t = "testx509.pem"
 $      if p1 .nes. "" then t = p1
 $
 $      write sys$output "testing X509 conversions"