Use an OCTET STRING for the encoding of an OCSP nonce value.
[openssl.git] / test / testenc.com
index 9e902a2bf738d99047488b6c5a07c71aa18e3b82..c24fa388c06a01fddb705e3676bf294513fe352f 100644 (file)
@@ -9,7 +9,9 @@ $       test := p.txt
 $      cmd := mcr 'exe_dir'openssl
 $
 $      if f$search(test) .nes. "" then delete 'test';*
-$      copy 'testsrc' 'test'
+$      convert/fdl=sys$input: 'testsrc' 'test'
+RECORD
+       FORMAT STREAM_LF
 $
 $      if f$search(test+"-cipher") .nes. "" then delete 'test'-cipher;*
 $      if f$search(test+"-clear") .nes. "" then delete 'test'-clear;*
@@ -28,9 +30,9 @@ $     backup/compare 'test' 'test'-clear
 $      if $severity .ne. 1 then exit 3
 $      delete 'test'-cipher;*,'test'-clear;*
 $
-$      define/user sys$output 'test'-cipher-commands.
+$      define/user sys$output 'test'-cipher-commands
 $      'cmd' list-cipher-commands
-$      open/read f 'test'-cipher-commands.
+$      open/read f 'test'-cipher-commands
 $ loop_cipher_commands:
 $      read/end=loop_cipher_commands_end f i
 $      write sys$output i
@@ -56,5 +58,5 @@ $
 $      goto loop_cipher_commands
 $ loop_cipher_commands_end:
 $      close f
-$      delete 'test'-cipher-commands.;*
+$      delete 'test'-cipher-commands;*
 $      delete 'test';*