summaryrefslogtreecommitdiff
path: root/regress/lib/libssl
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2020-07-07 19:41:32 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2020-07-07 19:41:32 +0000
commitba2cca4f0b9ae36fddd379b8b965984971fc3ff2 (patch)
treef8cf3d9f85bb98307a54b7e20ae12f297579a627 /regress/lib/libssl
parent696e983d7f7b5da1a31eefcdae756f5cdf89af6d (diff)
Test TLSv1.3 ciphersuites now that TLS_method() supports TLSv1.3.
Diffstat (limited to 'regress/lib/libssl')
-rw-r--r--regress/lib/libssl/ssl/testssl12
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
#############################################################################