diff options
author | jsing <> | 2020-04-09 17:55:45 +0000 |
---|---|---|
committer | jsing <> | 2020-04-09 17:55:45 +0000 |
commit | aac4a18c7244667683abb07c55687fbe9e44eacd (patch) | |
tree | 433e8aa6522f41b0b24c4165491b95d089741e86 | |
parent | fd39076d1c57d059fde6223ba9f5f54678a94c86 (diff) | |
download | openbsd-aac4a18c7244667683abb07c55687fbe9e44eacd.tar.gz openbsd-aac4a18c7244667683abb07c55687fbe9e44eacd.tar.bz2 openbsd-aac4a18c7244667683abb07c55687fbe9e44eacd.zip |
Revise test to handle the fact that TLSv1.3 cipher suites are now being
included in the output from `openssl ciphers`.
-rw-r--r-- | src/regress/lib/libssl/ssl/testssl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/ssl/testssl b/src/regress/lib/libssl/ssl/testssl index 428870bb43..a785e9c8ed 100644 --- a/src/regress/lib/libssl/ssl/testssl +++ b/src/regress/lib/libssl/ssl/testssl | |||
@@ -55,7 +55,8 @@ $ssltest -bio_pair -server_auth -client_auth -app_verify $CA $extra || exit 1 | |||
55 | echo "Testing ciphersuites" | 55 | echo "Testing ciphersuites" |
56 | for protocol in SSLv3 TLSv1.2; do | 56 | for protocol in SSLv3 TLSv1.2; do |
57 | echo "Testing ciphersuites for $protocol" | 57 | echo "Testing ciphersuites for $protocol" |
58 | for cipher in `$openssl ciphers "$protocol+aRSA" | tr ':' ' '`; do | 58 | for cipher in `$openssl ciphers -v "$protocol+aRSA" | |
59 | awk "/ $protocol / { print \\$1 }"`; do | ||
59 | echo "Testing $cipher" | 60 | echo "Testing $cipher" |
60 | $ssltest -cipher $cipher | 61 | $ssltest -cipher $cipher |
61 | if [ $? -ne 0 ] ; then | 62 | if [ $? -ne 0 ] ; then |
@@ -107,7 +108,8 @@ $ssltest -dtls1 -server_auth -client_auth $CA $extra || exit 1 | |||
107 | echo "Testing DTLS ciphersuites" | 108 | echo "Testing DTLS ciphersuites" |
108 | for protocol in SSLv3; do | 109 | for protocol in SSLv3; do |
109 | echo "Testing ciphersuites for $protocol" | 110 | echo "Testing ciphersuites for $protocol" |
110 | for cipher in `$openssl ciphers "RSA+$protocol" | tr ':' '\n' | | 111 | for cipher in `$openssl ciphers -v "RSA+$protocol" | |
112 | awk "/ $protocol / { print \\$1 }" | | ||
111 | grep -v RC4`; do | 113 | grep -v RC4`; do |
112 | echo "Testing $cipher" | 114 | echo "Testing $cipher" |
113 | $ssltest -cipher $cipher -dtls1 | 115 | $ssltest -cipher $cipher -dtls1 |