Code style: space after 'if'
[openssl.git] / test / treq.com
index 5524e48..acf08b7 100644 (file)
@@ -1,12 +1,17 @@
 $! TREQ.COM  --  Tests req keys
 $
-$      __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 (p2 .eqs. "64") then __arch = __arch+ "_64"
+$!
+$      exe_dir = "sys$disk:[-.''__arch'.exe.apps]"
 $
-$      cmd := mcr 'exe_dir'openssl req -config [-.apps]openssl-vms.cnf
+$      cmd = "mcr ''exe_dir'openssl req -config [-.apps]openssl-vms.cnf"
 $
-$      t := testreq.pem
+$      t = "testreq.pem"
 $      if p1 .nes. "" then t = p1
 $
 $      write sys$output "testing req conversions"