Functional VMS changes submitted by sms@antinode.info (Steven M. Schweda).
[openssl.git] / test / tpkcs7d.com
index 193bb72137e33b2a4a204ffc04bf2218dc3ae27b..22f0d0b2c5fd95d927ad084248e190ccea02f015 100644 (file)
@@ -1,7 +1,9 @@
 $! TPKCS7.COM  --  Tests pkcs7 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 pkcs7