diff options
| author | jsing <> | 2020-04-09 17:55:45 +0000 |
|---|---|---|
| committer | jsing <> | 2020-04-09 17:55:45 +0000 |
| commit | 02f91bf85c93ea810a5debf412591a16e609bd61 (patch) | |
| tree | 433e8aa6522f41b0b24c4165491b95d089741e86 /src | |
| parent | 40d2bd7c8fdb0d23f0152726baf1b34ced73e378 (diff) | |
| download | openbsd-02f91bf85c93ea810a5debf412591a16e609bd61.tar.gz openbsd-02f91bf85c93ea810a5debf412591a16e609bd61.tar.bz2 openbsd-02f91bf85c93ea810a5debf412591a16e609bd61.zip | |
Revise test to handle the fact that TLSv1.3 cipher suites are now being
included in the output from `openssl ciphers`.
Diffstat (limited to 'src')
| -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 |
