X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=test%2Ftpkcs7.com;h=3fc4982bb009563e8bca2cc65491cdb4bb98b671;hp=31a86d3cdd659ef7d407b66841f9ce96cca275dd;hb=3bfe583b8dcf3c3841ca0f6c2bd391f647e48dd8;hpb=cc8cc9a3a175690d146a209d648652bbd53b3e68 diff --git a/test/tpkcs7.com b/test/tpkcs7.com index 31a86d3cdd..3fc4982bb0 100644 --- a/test/tpkcs7.com +++ b/test/tpkcs7.com @@ -1,14 +1,17 @@ $! TPKCS7.COM -- Tests pkcs7 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] + __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]" $ -$ cmd := mcr 'exe_dir'openssl pkcs7 +$ cmd = "mcr ''exe_dir'openssl pkcs7" $ -$ t := testp7.pem +$ t = "testp7.pem" $ if p1 .nes. "" then t = p1 $ $ write sys$output "testing PKCS7 conversions"