X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=test%2Ftx509.com;h=399eb014901726f61409f17c991e58557c0453f4;hp=8b6adc19d5edffa5cf544866984565e26b1e27c1;hb=d3f17e5ed3dee78b6f17d517fa11a771d85dc0b8;hpb=13427e4561d93442c061eeb850420315be4fd437 diff --git a/test/tx509.com b/test/tx509.com index 8b6adc19d5..399eb01490 100644 --- a/test/tx509.com +++ b/test/tx509.com @@ -1,7 +1,9 @@ $! TX509.COM -- Tests x509 certificates $ $ __arch := VAX -$ if f$getsyi("cpu") .ge. 128 then __arch := AXP +$ 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] $ $ cmd := mcr 'exe_dir'openssl x509 @@ -10,7 +12,12 @@ $ t := testx509.pem $ if p1 .nes. "" then t = p1 $ $ write sys$output "testing X509 conversions" -$ copy 't' fff.p +$ if f$search("fff.*") .nes "" then delete fff.*;* +$ if f$search("ff.*") .nes "" then delete ff.*;* +$ if f$search("f.*") .nes "" then delete f.*;* +$ convert/fdl=sys$input: 't' fff.p +RECORD + FORMAT STREAM_LF $ $ write sys$output "p -> d" $ 'cmd' -in fff.p -inform p -outform d -out f.d