diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2020-07-07 19:41:32 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2020-07-07 19:41:32 +0000 |
commit | ba2cca4f0b9ae36fddd379b8b965984971fc3ff2 (patch) | |
tree | f8cf3d9f85bb98307a54b7e20ae12f297579a627 /regress | |
parent | 696e983d7f7b5da1a31eefcdae756f5cdf89af6d (diff) |
Test TLSv1.3 ciphersuites now that TLS_method() supports TLSv1.3.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libssl/ssl/testssl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/regress/lib/libssl/ssl/testssl b/regress/lib/libssl/ssl/testssl index a785e9c8ed4..b6f7d200a04 100644 --- a/regress/lib/libssl/ssl/testssl +++ b/regress/lib/libssl/ssl/testssl @@ -65,6 +65,18 @@ for protocol in SSLv3 TLSv1.2; do fi done done +for protocol in TLSv1.3; do + echo "Testing ciphersuites for $protocol" + for cipher in `$openssl ciphers -v "$protocol" | + awk "/ $protocol / { print \\$1 }"`; do + echo "Testing $cipher" + $ssltest -cipher $cipher + if [ $? -ne 0 ] ; then + echo "Failed $cipher" + exit 1 + fi + done +done ############################################################################# |