X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=test%2Ftrsa.com;h=54180843ee06a8e4e6ab0eb12994a0789022883b;hb=c3c7fb07dc975dc3c9de0eddb7d8fd79fc9c67c1;hp=6dbe59ef644fd24151e206dbb0309a8862ad84e8;hpb=3d11b8f89617edc81d01329dbb5bf134fcda3303;p=openssl.git diff --git a/test/trsa.com b/test/trsa.com index 6dbe59ef64..54180843ee 100644 --- a/test/trsa.com +++ b/test/trsa.com @@ -1,8 +1,13 @@ $! TRSA.COM -- Tests rsa keys $ -$ __arch := VAX -$ if f$getsyi("cpu") .ge. 128 then __arch := AXP -$ exe_dir := sys$disk:[-.'__arch'.exe.apps] +$ __arch = "VAX" +$ if f$getsyi("cpu") .ge. 128 then - + __arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE") +$ if __arch .eqs. "" then __arch = "UNK" +$! +$ if (p2 .eqs. "64") then __arch = __arch+ "_64" +$! +$ exe_dir = "sys$disk:[-.''__arch'.exe.apps]" $ $ set noon $ define/user sys$output nla0: @@ -15,9 +20,9 @@ $ write sys$output "skipping RSA conversion test" $ exit $ endif $ -$ cmd := mcr 'exe_dir'openssl rsa +$ cmd = "mcr ''exe_dir'openssl rsa" $ -$ t := testrsa.pem +$ t = "testrsa.pem" $ if p1 .nes. "" then t = p1 $ $ write sys$output "testing RSA conversions"