Fix type-checking/casting issue.
[openssl.git] / test / tcrl.com
index 86bf9735aa6ed025a2d0a87e744c0cd00b80e6e7..1f606eb850800fe44c078aa60927bbcd5c4621fd 100644 (file)
@@ -1,7 +1,9 @@
 $! TCRL.COM  --  Tests crl keys
 $
 $      __arch := VAX
-$      if f$getsyi("cpu") .ge. 128 then __arch := AXP
+$      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]
 $
 $      cmd := mcr 'exe_dir'openssl crl