Use an OCTET STRING for the encoding of an OCSP nonce value.
[openssl.git] / test / trsa.com
index 7862e902db3975a6e612922b8d57a1761ae05d2c..6dbe59ef644fd24151e206dbb0309a8862ad84e8 100644 (file)
@@ -4,21 +4,16 @@ $     __arch := VAX
 $      if f$getsyi("cpu") .ge. 128 then __arch := AXP
 $      exe_dir := sys$disk:[-.'__arch'.exe.apps]
 $
-$      found_it := NO
-$      define/user sys$output trsa-standard-commands.
-$      mcr 'exe_dir'openssl list-standard-commands
-$      open/read f trsa-standard-commands.
-$ loop_standard_commands:
-$      read/end=loop_standard_commands_end f i
-$      if f$edit(i,"lowercase") .eqs. "rsa"
+$      set noon
+$      define/user sys$output nla0:
+$      mcr 'exe_dir'openssl no-rsa
+$      save_severity=$SEVERITY
+$      set on
+$      if save_severity
 $      then
-$          found_it := YES
-$          goto loop_standard_commands_end
+$          write sys$output "skipping RSA conversion test"
+$          exit
 $      endif
-$      goto loop_standard_commands
-$ loop_standard_commands_end:
-$      close f
-$      delete trsa-standard-commands.;*
 $
 $      cmd := mcr 'exe_dir'openssl rsa
 $
@@ -29,7 +24,9 @@ $     write sys$output "testing RSA conversions"
 $      if f$search("fff.*") .nes "" then delete fff.*;*
 $      if f$search("ff.*") .nes "" then delete ff.*;*
 $      if f$search("f.*") .nes "" then delete f.*;*
-$      copy 't' fff.p
+$      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