summaryrefslogtreecommitdiff
path: root/src/lib/libssl/test/testgen
diff options
context:
space:
mode:
authormarkus <>2002-09-03 22:05:59 +0000
committermarkus <>2002-09-03 22:05:59 +0000
commit9482ba4a58b16aebf5b63997d4f5c683914c694f (patch)
tree5832f9ffd55cceb354b32588afb660444ec4f444 /src/lib/libssl/test/testgen
parente4fd57152b3c9ab190f2b7a12404e78bdbbefb77 (diff)
downloadopenbsd-9482ba4a58b16aebf5b63997d4f5c683914c694f.tar.gz
openbsd-9482ba4a58b16aebf5b63997d4f5c683914c694f.tar.bz2
openbsd-9482ba4a58b16aebf5b63997d4f5c683914c694f.zip
sync tests with 0.9.7-beta1
Diffstat (limited to 'src/lib/libssl/test/testgen')
-rw-r--r--src/lib/libssl/test/testgen16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/lib/libssl/test/testgen b/src/lib/libssl/test/testgen
index c5f61b582b..6a4b6b9221 100644
--- a/src/lib/libssl/test/testgen
+++ b/src/lib/libssl/test/testgen
@@ -11,13 +11,19 @@ export PATH
11 11
12echo "generating certificate request" 12echo "generating certificate request"
13 13
14echo "There should be a 2 sequences of .'s and some +'s."
15echo "There should not be more that at most 80 per line"
16echo "This could take some time."
17
18echo "string to make the random number generator think it has entropy" >> ./.rnd 14echo "string to make the random number generator think it has entropy" >> ./.rnd
19 15
20../apps/openssl req -config test.cnf -new -out testreq.pem 16if ../apps/openssl no-rsa; then
17 req_new='-newkey dsa:../apps/dsa512.pem'
18else
19 req_new='-new'
20 echo "There should be a 2 sequences of .'s and some +'s."
21 echo "There should not be more that at most 80 per line"
22fi
23
24echo "This could take some time."
25
26../apps/openssl req -config test.cnf $req_new -out testreq.pem
21if [ $? != 0 ]; then 27if [ $? != 0 ]; then
22echo problems creating request 28echo problems creating request
23exit 1 29exit 1