diff options
| author | beck <> | 1999-09-29 10:06:20 +0000 |
|---|---|---|
| committer | beck <> | 1999-09-29 10:06:20 +0000 |
| commit | 7df14f98dd63d35b5577db9bbb5ec63f84387e42 (patch) | |
| tree | 2bbf958ff28ee284d3681751a7d88745b1748304 | |
| parent | 10b0f192f8fb2b016631c3ed14a7c242ca900cd3 (diff) | |
| download | openbsd-7df14f98dd63d35b5577db9bbb5ec63f84387e42.tar.gz openbsd-7df14f98dd63d35b5577db9bbb5ec63f84387e42.tar.bz2 openbsd-7df14f98dd63d35b5577db9bbb5ec63f84387e42.zip | |
New minty openssl version
| -rw-r--r-- | src/regress/lib/libssl/test_client.sh | 2 | ||||
| -rw-r--r-- | src/regress/lib/libssl/test_server.sh | 2 | ||||
| -rw-r--r-- | src/regress/lib/libssl/testdsa.sh | 8 | ||||
| -rw-r--r-- | src/regress/lib/libssl/testenc.sh | 2 | ||||
| -rw-r--r-- | src/regress/lib/libssl/testrsa.sh | 10 |
5 files changed, 12 insertions, 12 deletions
diff --git a/src/regress/lib/libssl/test_client.sh b/src/regress/lib/libssl/test_client.sh index 36a8f84532..8b24e3f8a7 100644 --- a/src/regress/lib/libssl/test_client.sh +++ b/src/regress/lib/libssl/test_client.sh | |||
| @@ -8,4 +8,4 @@ echo type in this window after ssl negotiation and your output should | |||
| 8 | echo be echoed by the server. | 8 | echo be echoed by the server. |
| 9 | echo | 9 | echo |
| 10 | echo | 10 | echo |
| 11 | /usr/sbin/ssleay s_client -tls1 | 11 | /usr/sbin/openssl s_client -tls1 |
diff --git a/src/regress/lib/libssl/test_server.sh b/src/regress/lib/libssl/test_server.sh index 5467c52459..7d40270f13 100644 --- a/src/regress/lib/libssl/test_server.sh +++ b/src/regress/lib/libssl/test_server.sh | |||
| @@ -6,4 +6,4 @@ echo see the results of the ssl negotiation, and stuff you type in the client | |||
| 6 | echo should echo in this window | 6 | echo should echo in this window |
| 7 | echo | 7 | echo |
| 8 | echo | 8 | echo |
| 9 | /usr/sbin/ssleay s_server -tls1 -key testdsa.key -cert testdsa.pem | 9 | /usr/sbin/openssl s_server -tls1 -key testdsa.key -cert testdsa.pem |
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 |
diff --git a/src/regress/lib/libssl/testenc.sh b/src/regress/lib/libssl/testenc.sh index fa5cfed776..c30993449f 100644 --- a/src/regress/lib/libssl/testenc.sh +++ b/src/regress/lib/libssl/testenc.sh | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | testsrc=$2/ssleay.cnf | 3 | testsrc=$2/openssl.cnf |
| 4 | test=$1/p | 4 | test=$1/p |
| 5 | cmd=/usr/sbin/openssl | 5 | cmd=/usr/sbin/openssl |
| 6 | 6 | ||
diff --git a/src/regress/lib/libssl/testrsa.sh b/src/regress/lib/libssl/testrsa.sh index 3f4c328acd..75e205a975 100644 --- a/src/regress/lib/libssl/testrsa.sh +++ b/src/regress/lib/libssl/testrsa.sh | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | #Test RSA certificate generation of ssleay | 3 | #Test RSA certificate generation of openssl |
| 4 | 4 | ||
| 5 | echo | 5 | echo |
| 6 | echo RSA paramters test - NOTE THAT THIS WILL ONLY WORK IF YOU HAVE | 6 | echo RSA paramters test - NOTE THAT THIS WILL ONLY WORK IF YOU HAVE |
| 7 | echo compiled libssl with the src-patent tree, currently living in | 7 | echo compiled libssl with the src-patent tree, currently living in |
| 8 | echo ~ryker/src-patent.tar.gz on cvs. | 8 | echo ~beck/src-patent.tar.gz on cvs. |
| 9 | echo | 9 | echo |
| 10 | echo This will *not* work with what\'s in the tree, rsa is not in that. | 10 | echo This will *not* work with what\'s in the tree, rsa is not in that. |
| 11 | echo | 11 | echo |
| @@ -14,21 +14,21 @@ sleep 3 | |||
| 14 | cd $1 | 14 | cd $1 |
| 15 | 15 | ||
| 16 | # Generate RSA private key | 16 | # Generate RSA private key |
| 17 | ssleay genrsa -out rsakey.pem | 17 | openssl genrsa -out rsakey.pem |
| 18 | if [ $? != 0 ]; then | 18 | if [ $? != 0 ]; then |
| 19 | exit 1; | 19 | exit 1; |
| 20 | fi | 20 | fi |
| 21 | 21 | ||
| 22 | 22 | ||
| 23 | # Denerate an RSA certificate | 23 | # Denerate an RSA certificate |
| 24 | ssleay req -config $2/ssleay.cnf -key rsakey.pem -new -x509 -days 365 -out rsacert.pem | 24 | openssl req -config $2/openssl.cnf -key rsakey.pem -new -x509 -days 365 -out rsacert.pem |
| 25 | if [ $? != 0 ]; then | 25 | if [ $? != 0 ]; then |
| 26 | exit 1; | 26 | exit 1; |
| 27 | fi | 27 | fi |
| 28 | 28 | ||
| 29 | 29 | ||
| 30 | # Now check the certificate | 30 | # Now check the certificate |
| 31 | ssleay x509 -text -in rsacert.pem | 31 | openssl x509 -text -in rsacert.pem |
| 32 | if [ $? != 0 ]; then | 32 | if [ $? != 0 ]; then |
| 33 | exit 1; | 33 | exit 1; |
| 34 | fi | 34 | fi |
