X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=test%2Ftsid.com;h=b6c4e49473e9707ec60b653aa5c339cf5f5feae0;hb=e9c80e04c1a3b5a0de8e666155ab4ecb2697a77d;hp=267ace11353ace622b33f6b9e614ad328a1f7434;hpb=407a410136f0cd6b3bbdb665c8a2d0a3ddce9122;p=oweals%2Fopenssl.git diff --git a/test/tsid.com b/test/tsid.com index 267ace1135..b6c4e49473 100644 --- a/test/tsid.com +++ b/test/tsid.com @@ -1,14 +1,17 @@ $! TSID.COM -- Tests sid keys $ -$ __arch := VAX +$ __arch = "VAX" $ 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] +$ 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 sess_id +$ cmd = "mcr ''exe_dir'openssl sess_id" $ -$ t := testsid.pem +$ t = "testsid.pem" $ if p1 .nes. "" then t = p1 $ $ write sys$output "testing session-id conversions"