Apply all the changes submitted by Steven M. Schweda <sms@antinode.info>
[openssl.git] / test / tpkcs7d.com
index 5ff653ccee0f7695231d27ca3a630d16e68fe9d6..eea8c888ee65df550da2163de564bc761be7ed20 100644 (file)
@@ -1,14 +1,17 @@
 $! TPKCS7.COM  --  Tests pkcs7 keys
 $
-$      __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]
+$      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
+$      cmd = "mcr ''exe_dir'openssl pkcs7"
 $
-$      t := pkcs7-1.pem
+$      t = "pkcs7-1.pem"
 $      if p1 .nes. "" then t = p1
 $
 $      write sys$output "testing PKCS7 conversions (2)"