summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2020-07-14 18:13:23 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2020-07-14 18:13:23 +0000
commitb207cde72e3e14681a3e63fc0c95a17372015e15 (patch)
tree223de687d65cdf33d39fd0b45b1ffb5d18f630e5 /regress
parent68e6359206929248d293315f018e7a2d0beeecea (diff)
Force TLSv1.2 when testing SSLv3/TLSv1.2 cipher suites.
Otherwise we end up switching to TLSv1.3 and using a TLSv1.3 cipher suite.
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libssl/ssl/testssl2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/lib/libssl/ssl/testssl b/regress/lib/libssl/ssl/testssl
index b6f7d200a04..fe633e87975 100644
--- a/regress/lib/libssl/ssl/testssl
+++ b/regress/lib/libssl/ssl/testssl
@@ -58,7 +58,7 @@ for protocol in SSLv3 TLSv1.2; do
for cipher in `$openssl ciphers -v "$protocol+aRSA" |
awk "/ $protocol / { print \\$1 }"`; do
echo "Testing $cipher"
- $ssltest -cipher $cipher
+ $ssltest -cipher $cipher -tls1_2
if [ $? -ne 0 ] ; then
echo "Failed $cipher"
exit 1