Make sure the source directory for ASN1TEST is defined.
[openssl.git] / test / tpkcs7d.com
index 193bb72137e33b2a4a204ffc04bf2218dc3ae27b..5ff653ccee0f7695231d27ca3a630d16e68fe9d6 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