summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/testdsa.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libssl/testdsa.sh')
-rw-r--r--src/regress/lib/libssl/testdsa.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/lib/libssl/testdsa.sh b/src/regress/lib/libssl/testdsa.sh
index 4c9668c906..dc5d7b97b5 100644
--- a/src/regress/lib/libssl/testdsa.sh
+++ b/src/regress/lib/libssl/testdsa.sh
@@ -2,6 +2,8 @@
2 2
3#Test DSA certificate generation of ssleay 3#Test DSA certificate generation of ssleay
4 4
5cd $1
6
5# Generate DSA paramter set 7# Generate DSA paramter set
6ssleay dsaparam 512 -out dsa512.pem 8ssleay dsaparam 512 -out dsa512.pem
7if [ $? != 0 ]; then 9if [ $? != 0 ]; then
@@ -10,7 +12,7 @@ fi
10 12
11 13
12# Denerate a DSA certificate 14# Denerate a DSA certificate
13ssleay req -config ssleay.cnf -x509 -newkey dsa:dsa512.pem -out testdsa.pem -keyout testdsa.key 15ssleay req -config $2/ssleay.cnf -x509 -newkey dsa:dsa512.pem -out testdsa.pem -keyout testdsa.key
14if [ $? != 0 ]; then 16if [ $? != 0 ]; then
15 exit 1; 17 exit 1;
16fi 18fi