Functional VMS changes submitted by sms@antinode.info (Steven M. Schweda).
[openssl.git] / test / tsid.com
index abd1d4d7376c662094e0ce8599f927fb07efce39..e4316b966b738a9901ab7c32394bc39e4f0f62b9 100644 (file)
@@ -1,7 +1,9 @@
 $! TSID.COM  --  Tests sid 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 sess_id