diff options
| author | jsing <> | 2020-07-07 19:41:31 +0000 |
|---|---|---|
| committer | jsing <> | 2020-07-07 19:41:31 +0000 |
| commit | f45a55fc46ffe1493df9e49ec2d3febaf23c557b (patch) | |
| tree | 295667e00093fdabba72093868605fe7fc1476ff | |
| parent | af06ca6427e355a07e5ee9751f9d0ef96f73e5a7 (diff) | |
| download | openbsd-f45a55fc46ffe1493df9e49ec2d3febaf23c557b.tar.gz openbsd-f45a55fc46ffe1493df9e49ec2d3febaf23c557b.tar.bz2 openbsd-f45a55fc46ffe1493df9e49ec2d3febaf23c557b.zip | |
Test TLSv1.3 ciphersuites now that TLS_method() supports TLSv1.3.
| -rw-r--r-- | src/regress/lib/libssl/ssl/testssl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/regress/lib/libssl/ssl/testssl b/src/regress/lib/libssl/ssl/testssl index a785e9c8ed..b6f7d200a0 100644 --- a/src/regress/lib/libssl/ssl/testssl +++ b/src/regress/lib/libssl/ssl/testssl | |||
| @@ -65,6 +65,18 @@ for protocol in SSLv3 TLSv1.2; do | |||
| 65 | fi | 65 | fi |
| 66 | done | 66 | done |
| 67 | done | 67 | done |
| 68 | for protocol in TLSv1.3; do | ||
| 69 | echo "Testing ciphersuites for $protocol" | ||
| 70 | for cipher in `$openssl ciphers -v "$protocol" | | ||
| 71 | awk "/ $protocol / { print \\$1 }"`; do | ||
| 72 | echo "Testing $cipher" | ||
| 73 | $ssltest -cipher $cipher | ||
| 74 | if [ $? -ne 0 ] ; then | ||
| 75 | echo "Failed $cipher" | ||
| 76 | exit 1 | ||
| 77 | fi | ||
| 78 | done | ||
| 79 | done | ||
| 68 | 80 | ||
| 69 | ############################################################################# | 81 | ############################################################################# |
| 70 | 82 | ||
