X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=test%2Ftx509.com;fp=test%2Ftx509.com;h=93ce988b418bd0d3ffdfb24a95042feae7d27f0e;hp=399eb014901726f61409f17c991e58557c0453f4;hb=537c982306039df02d1e9410dfe205639b547e7a;hpb=5904882eaa17be86b7d09fe5f49f1ffb8eee5e99 diff --git a/test/tx509.com b/test/tx509.com index 399eb01490..93ce988b41 100644 --- a/test/tx509.com +++ b/test/tx509.com @@ -1,14 +1,17 @@ $! TX509.COM -- Tests x509 certificates $ -$ __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 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"