From ba2cca4f0b9ae36fddd379b8b965984971fc3ff2 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Tue, 7 Jul 2020 19:41:32 +0000 Subject: Test TLSv1.3 ciphersuites now that TLS_method() supports TLSv1.3. --- regress/lib/libssl/ssl/testssl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'regress/lib/libssl') 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 ############################################################################# -- cgit v1.2.3