aboutsummaryrefslogtreecommitdiffstats
path: root/test/testgen
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-04-21 21:10:01 +0200
committerRichard Levitte <levitte@openssl.org>2015-09-07 16:10:58 +0200
commit71a4f2832c3fe02d026af8241767ee80f440e876 (patch)
tree9c8ae80698b015f07ef6198b95ea02a6f6ddae08 /test/testgen
parentfd9ad2300b280c0f71d24456bfbf04579331bc94 (diff)
downloadopenssl-71a4f2832c3fe02d026af8241767ee80f440e876.tar.gz
Remove old testing scripts out of the way.
For now, I'm moving them into Attic/. They will be removed later. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/testgen')
-rw-r--r--test/testgen36
1 files changed, 0 insertions, 36 deletions
diff --git a/test/testgen b/test/testgen
deleted file mode 100644
index 1140f8ac96..0000000000
--- a/test/testgen
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-T=testcert
-KEY=512
-CA=../certs/testca.pem
-
-/bin/rm -f $T.1 $T.2 $T.key
-
-if test "$OSTYPE" = msdosdjgpp; then
- PATH=../apps\;$PATH;
-else
- PATH=../apps:$PATH;
-fi
-export PATH
-
-echo "generating certificate request"
-
-echo "string to make the random number generator think it has entropy" >> ./.rnd
-
-if ../util/shlib_wrap.sh ../apps/openssl no-rsa >/dev/null; then
- req_new='-newkey dsa:../apps/dsa512.pem'
-else
- req_new='-new'
- echo "There should be a 2 sequences of .'s and some +'s."
- echo "There should not be more that at most 80 per line"
-fi
-
-rm -f testkey.pem testreq.pem
-
-echo Generating request
-../util/shlib_wrap.sh ../apps/openssl req -config test.cnf $req_new -out testreq.pem || exit 1
-
-echo Verifying signature on request
-../util/shlib_wrap.sh ../apps/openssl req -config test.cnf -verify -in testreq.pem -noout || exit 1
-
-exit 0