Add X9.42 DH certificate to S/MIME test
[openssl.git] / test / tpkcs7d.com
index 193bb72137e33b2a4a204ffc04bf2218dc3ae27b..eea8c888ee65df550da2163de564bc761be7ed20 100644 (file)
@@ -1,12 +1,17 @@
 $! TPKCS7.COM  --  Tests pkcs7 keys
 $
-$      __arch := VAX
-$      if f$getsyi("cpu") .ge. 128 then __arch := AXP
-$      exe_dir := sys$disk:[-.'__arch'.exe.apps]
-$
-$      cmd := mcr 'exe_dir'openssl pkcs7
-$
-$      t := pkcs7-1.pem
+$      __arch = "VAX"
+$      if f$getsyi("cpu") .ge. 128 then -
+          __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 pkcs7"
+$
+$      t = "pkcs7-1.pem"
 $      if p1 .nes. "" then t = p1
 $
 $      write sys$output "testing PKCS7 conversions (2)"