X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=test%2Ftx509.com;h=93ce988b418bd0d3ffdfb24a95042feae7d27f0e;hp=7b2592f7732059221a5aa3b1c5a3411374244009;hb=a51f767645c117667d337f77fe1dd9c0a66d8410;hpb=b44069730b63600dc57b553ba72c4a11551aa690 diff --git a/test/tx509.com b/test/tx509.com index 7b2592f773..93ce988b41 100644 --- a/test/tx509.com +++ b/test/tx509.com @@ -1,12 +1,17 @@ $! TX509.COM -- Tests x509 certificates $ -$ __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]" $ -$ cmd := mcr 'exe_dir'openssl x509 +$ cmd = "mcr ''exe_dir'openssl x509" $ -$ t := testx509.pem +$ t = "testx509.pem" $ if p1 .nes. "" then t = p1 $ $ write sys$output "testing X509 conversions"