summaryrefslogtreecommitdiffstats
path: root/test/testenc
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn>2000-11-07 14:49:47 +0100
committercvs2svn <cvs2svn>2000-11-07 14:49:47 +0100
commit9d98df23f38afa21e159d910335b49fb196206e8 (patch)
tree97be0cb87a26df5765d335516956ef80d008b554 /test/testenc
parentA few more constifications of some RSA routines that I forgot (diff)
downloadopenssl-rsaref.tar.gz
openssl-rsaref.zip
This commit was manufactured by cvs2svn to create tag 'rsaref'.rsaref
Diffstat (limited to 'test/testenc')
-rw-r--r--test/testenc54
1 files changed, 0 insertions, 54 deletions
diff --git a/test/testenc b/test/testenc
deleted file mode 100644
index 0656c7f5254..00000000000
--- a/test/testenc
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-
-testsrc=Makefile.ssl
-test=./p
-cmd=../apps/openssl
-
-cat $testsrc >$test;
-
-echo cat
-$cmd enc < $test > $test.cipher
-$cmd enc < $test.cipher >$test.clear
-cmp $test $test.clear
-if [ $? != 0 ]
-then
- exit 1
-else
- /bin/rm $test.cipher $test.clear
-fi
-echo base64
-$cmd enc -a -e < $test > $test.cipher
-$cmd enc -a -d < $test.cipher >$test.clear
-cmp $test $test.clear
-if [ $? != 0 ]
-then
- exit 1
-else
- /bin/rm $test.cipher $test.clear
-fi
-
-for i in `$cmd list-cipher-commands`
-do
- echo $i
- $cmd $i -bufsize 113 -e -k test < $test > $test.$i.cipher
- $cmd $i -bufsize 157 -d -k test < $test.$i.cipher >$test.$i.clear
- cmp $test $test.$i.clear
- if [ $? != 0 ]
- then
- exit 1
- else
- /bin/rm $test.$i.cipher $test.$i.clear
- fi
-
- echo $i base64
- $cmd $i -bufsize 113 -a -e -k test < $test > $test.$i.cipher
- $cmd $i -bufsize 157 -a -d -k test < $test.$i.cipher >$test.$i.clear
- cmp $test $test.$i.clear
- if [ $? != 0 ]
- then
- exit 1
- else
- /bin/rm $test.$i.cipher $test.$i.clear
- fi
-done
-rm -f $test