summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/ssl/testssl
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libssl/ssl/testssl')
-rw-r--r--src/regress/lib/libssl/ssl/testssl32
1 files changed, 2 insertions, 30 deletions
diff --git a/src/regress/lib/libssl/ssl/testssl b/src/regress/lib/libssl/ssl/testssl
index 04f82a9da1..756f8e73fa 100644
--- a/src/regress/lib/libssl/ssl/testssl
+++ b/src/regress/lib/libssl/ssl/testssl
@@ -15,18 +15,6 @@ fi
15 15
16############################################################################# 16#############################################################################
17 17
18echo test sslv3
19$ssltest -ssl3 $extra || exit 1
20
21echo test sslv3 with server authentication
22$ssltest -ssl3 -server_auth $CA $extra || exit 1
23
24echo test sslv3 with client authentication
25$ssltest -ssl3 -client_auth $CA $extra || exit 1
26
27echo test sslv3 with both client and server authentication
28$ssltest -ssl3 -server_auth -client_auth $CA $extra || exit 1
29
30echo test sslv2/sslv3 18echo test sslv2/sslv3
31$ssltest $extra || exit 1 19$ssltest $extra || exit 1
32 20
@@ -39,18 +27,6 @@ $ssltest -client_auth $CA $extra || exit 1
39echo test sslv2/sslv3 with both client and server authentication 27echo test sslv2/sslv3 with both client and server authentication
40$ssltest -server_auth -client_auth $CA $extra || exit 1 28$ssltest -server_auth -client_auth $CA $extra || exit 1
41 29
42echo test sslv3 via BIO pair
43$ssltest -bio_pair -ssl3 $extra || exit 1
44
45echo test sslv3 with server authentication via BIO pair
46$ssltest -bio_pair -ssl3 -server_auth $CA $extra || exit 1
47
48echo test sslv3 with client authentication via BIO pair
49$ssltest -bio_pair -ssl3 -client_auth $CA $extra || exit 1
50
51echo test sslv3 with both client and server authentication via BIO pair
52$ssltest -bio_pair -ssl3 -server_auth -client_auth $CA $extra || exit 1
53
54echo test sslv2/sslv3 via BIO pair 30echo test sslv2/sslv3 via BIO pair
55$ssltest $extra || exit 1 31$ssltest $extra || exit 1
56 32
@@ -75,15 +51,11 @@ echo test sslv2/sslv3 with both client and server authentication via BIO pair an
75$ssltest -bio_pair -server_auth -client_auth -app_verify $CA $extra || exit 1 51$ssltest -bio_pair -server_auth -client_auth -app_verify $CA $extra || exit 1
76 52
77echo "Testing ciphersuites" 53echo "Testing ciphersuites"
78for protocol in SSLv3 TLSv1.2; do 54for protocol in TLSv1.2; do
79 echo "Testing ciphersuites for $protocol" 55 echo "Testing ciphersuites for $protocol"
80 for cipher in `$openssl ciphers "$protocol+aRSA" | tr ':' ' '`; do 56 for cipher in `$openssl ciphers "$protocol+aRSA" | tr ':' ' '`; do
81 echo "Testing $cipher" 57 echo "Testing $cipher"
82 prot="" 58 $ssltest -cipher $cipher
83 if [ $protocol = "SSLv3" ] ; then
84 prot="-ssl3"
85 fi
86 $ssltest -cipher $cipher $prot
87 if [ $? -ne 0 ] ; then 59 if [ $? -ne 0 ] ; then
88 echo "Failed $cipher" 60 echo "Failed $cipher"
89 exit 1 61 exit 1