diff options
| author | cvs2svn <cvs2svn> | 2000-11-07 14:49:47 +0100 |
|---|---|---|
| committer | cvs2svn <cvs2svn> | 2000-11-07 14:49:47 +0100 |
| commit | 9d98df23f38afa21e159d910335b49fb196206e8 (patch) | |
| tree | 97be0cb87a26df5765d335516956ef80d008b554 /test/testenc.com | |
| parent | A few more constifications of some RSA routines that I forgot (diff) | |
| download | openssl-rsaref.tar.gz openssl-rsaref.zip | |
This commit was manufactured by cvs2svn to create tag 'rsaref'.rsaref
Diffstat (limited to 'test/testenc.com')
| -rw-r--r-- | test/testenc.com | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/test/testenc.com b/test/testenc.com deleted file mode 100644 index 3b66f2e0d06..00000000000 --- a/test/testenc.com +++ /dev/null @@ -1,60 +0,0 @@ -$! TESTENC.COM -- Test encoding and decoding -$ -$ __arch := VAX -$ if f$getsyi("cpu") .ge. 128 then __arch := AXP -$ exe_dir := sys$disk:[-.'__arch'.exe.apps] -$ -$ testsrc := makefile.ssl -$ test := p.txt -$ cmd := mcr 'exe_dir'openssl -$ -$ if f$search(test) .nes. "" then delete 'test';* -$ copy 'testsrc' 'test' -$ -$ if f$search(test+"-cipher") .nes. "" then delete 'test'-cipher;* -$ if f$search(test+"-clear") .nes. "" then delete 'test'-clear;* -$ -$ write sys$output "cat" -$ 'cmd' enc -in 'test' -out 'test'-cipher -$ 'cmd' enc -in 'test'-cipher -out 'test'-clear -$ backup/compare 'test' 'test'-clear -$ if $severity .ne. 1 then exit 3 -$ delete 'test'-cipher;*,'test'-clear;* -$ -$ write sys$output "base64" -$ 'cmd' enc -a -e -in 'test' -out 'test'-cipher -$ 'cmd' enc -a -d -in 'test'-cipher -out 'test'-clear -$ backup/compare 'test' 'test'-clear -$ if $severity .ne. 1 then exit 3 -$ delete 'test'-cipher;*,'test'-clear;* -$ -$ define/user sys$output 'test'-cipher-commands -$ 'cmd' list-cipher-commands -$ open/read f 'test'-cipher-commands -$ loop_cipher_commands: -$ read/end=loop_cipher_commands_end f i -$ write sys$output i -$ -$ if f$search(test+"-"+i+"-cipher") .nes. "" then - - delete 'test'-'i'-cipher;* -$ if f$search(test+"-"+i+"-clear") .nes. "" then - - delete 'test'-'i'-clear;* -$ -$ 'cmd' 'i' -bufsize 113 -e -k test -in 'test' -out 'test'-'i'-cipher -$ 'cmd' 'i' -bufsize 157 -d -k test -in 'test'-'i'-cipher -out 'test'-'i'-clear -$ backup/compare 'test' 'test'-'i'-clear -$ if $severity .ne. 1 then exit 3 -$ delete 'test'-'i'-cipher;*,'test'-'i'-clear;* -$ -$ write sys$output i," base64" -$ 'cmd' 'i' -bufsize 113 -a -e -k test -in 'test' -out 'test'-'i'-cipher -$ 'cmd' 'i' -bufsize 157 -a -d -k test -in 'test'-'i'-cipher -out 'test'-'i'-clear -$ backup/compare 'test' 'test'-'i'-clear -$ if $severity .ne. 1 then exit 3 -$ delete 'test'-'i'-cipher;*,'test'-'i'-clear;* -$ -$ goto loop_cipher_commands -$ loop_cipher_commands_end: -$ close f -$ delete 'test'-cipher-commands;* -$ delete 'test';* |
