diff options
Diffstat (limited to 'src/regress/lib/libssl/testdsa.sh')
-rw-r--r-- | src/regress/lib/libssl/testdsa.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regress/lib/libssl/testdsa.sh b/src/regress/lib/libssl/testdsa.sh index dc5d7b97b5..e3afbfe40c 100644 --- a/src/regress/lib/libssl/testdsa.sh +++ b/src/regress/lib/libssl/testdsa.sh | |||
@@ -1,25 +1,25 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | #Test DSA certificate generation of ssleay | 3 | #Test DSA certificate generation of openssl |
4 | 4 | ||
5 | cd $1 | 5 | cd $1 |
6 | 6 | ||
7 | # Generate DSA paramter set | 7 | # Generate DSA paramter set |
8 | ssleay dsaparam 512 -out dsa512.pem | 8 | openssl dsaparam 512 -out dsa512.pem |
9 | if [ $? != 0 ]; then | 9 | if [ $? != 0 ]; then |
10 | exit 1; | 10 | exit 1; |
11 | fi | 11 | fi |
12 | 12 | ||
13 | 13 | ||
14 | # Denerate a DSA certificate | 14 | # Denerate a DSA certificate |
15 | ssleay req -config $2/ssleay.cnf -x509 -newkey dsa:dsa512.pem -out testdsa.pem -keyout testdsa.key | 15 | openssl req -config $2/openssl.cnf -x509 -newkey dsa:dsa512.pem -out testdsa.pem -keyout testdsa.key |
16 | if [ $? != 0 ]; then | 16 | if [ $? != 0 ]; then |
17 | exit 1; | 17 | exit 1; |
18 | fi | 18 | fi |
19 | 19 | ||
20 | 20 | ||
21 | # Now check the certificate | 21 | # Now check the certificate |
22 | ssleay x509 -text -in testdsa.pem | 22 | openssl x509 -text -in testdsa.pem |
23 | if [ $? != 0 ]; then | 23 | if [ $? != 0 ]; then |
24 | exit 1; | 24 | exit 1; |
25 | fi | 25 | fi |