diff options
author | jsing <> | 2020-07-14 18:13:22 +0000 |
---|---|---|
committer | jsing <> | 2020-07-14 18:13:22 +0000 |
commit | 02b2b8724bbd999e01f85ef375fb6611f378d302 (patch) | |
tree | 1eb2866348c28843e5c6dede26f77fdd921c80d7 | |
parent | 307bb197e7ac1d6f63a8847f065f376be91a0b92 (diff) | |
download | openbsd-02b2b8724bbd999e01f85ef375fb6611f378d302.tar.gz openbsd-02b2b8724bbd999e01f85ef375fb6611f378d302.tar.bz2 openbsd-02b2b8724bbd999e01f85ef375fb6611f378d302.zip |
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.
-rw-r--r-- | src/regress/lib/libssl/ssl/testssl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regress/lib/libssl/ssl/testssl b/src/regress/lib/libssl/ssl/testssl index b6f7d200a0..fe633e8797 100644 --- a/src/regress/lib/libssl/ssl/testssl +++ b/src/regress/lib/libssl/ssl/testssl | |||
@@ -58,7 +58,7 @@ for protocol in SSLv3 TLSv1.2; do | |||
58 | for cipher in `$openssl ciphers -v "$protocol+aRSA" | | 58 | for cipher in `$openssl ciphers -v "$protocol+aRSA" | |
59 | awk "/ $protocol / { print \\$1 }"`; do | 59 | awk "/ $protocol / { print \\$1 }"`; do |
60 | echo "Testing $cipher" | 60 | echo "Testing $cipher" |
61 | $ssltest -cipher $cipher | 61 | $ssltest -cipher $cipher -tls1_2 |
62 | if [ $? -ne 0 ] ; then | 62 | if [ $? -ne 0 ] ; then |
63 | echo "Failed $cipher" | 63 | echo "Failed $cipher" |
64 | exit 1 | 64 | exit 1 |