aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssl/test/testenc
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2000-07-26 21:12:35 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2000-07-26 21:12:35 +0000
commit7f1bf9342879a7ee2dd88e11a33ae7509eab55b0 (patch)
treea37e562f560b38e8e087a744d063186d6b1e6746 /crypto/openssl/test/testenc
parenta964be6d2c35243e54bf5ce12c15339d331189cb (diff)
This commit was manufactured by cvs2svn to create tagrelease/4.1.0_cvs
'RELENG_4_1_0_RELEASE'. This commit was manufactured to restore the state of the 4.1-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'crypto/openssl/test/testenc')
-rw-r--r--crypto/openssl/test/testenc54
1 files changed, 0 insertions, 54 deletions
diff --git a/crypto/openssl/test/testenc b/crypto/openssl/test/testenc
deleted file mode 100644
index 0656c7f52540..000000000000
--- a/crypto/openssl/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