summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl
diff options
context:
space:
mode:
authorjsing <>2020-07-07 19:41:31 +0000
committerjsing <>2020-07-07 19:41:31 +0000
commitf45a55fc46ffe1493df9e49ec2d3febaf23c557b (patch)
tree295667e00093fdabba72093868605fe7fc1476ff /src/regress/lib/libssl
parentaf06ca6427e355a07e5ee9751f9d0ef96f73e5a7 (diff)
downloadopenbsd-f45a55fc46ffe1493df9e49ec2d3febaf23c557b.tar.gz
openbsd-f45a55fc46ffe1493df9e49ec2d3febaf23c557b.tar.bz2
openbsd-f45a55fc46ffe1493df9e49ec2d3febaf23c557b.zip
Test TLSv1.3 ciphersuites now that TLS_method() supports TLSv1.3.
Diffstat (limited to 'src/regress/lib/libssl')
-rw-r--r--src/regress/lib/libssl/ssl/testssl12
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
67done 67done
68for 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
79done
68 80
69############################################################################# 81#############################################################################
70 82