aboutsummaryrefslogtreecommitdiffstats
path: root/test/gun_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2022-10-11 18:31:12 +0200
committerLoïc Hoguin <[email protected]>2022-10-11 18:31:12 +0200
commita4425a1d7db2d9e35f246aa078c324988ea395f0 (patch)
treee6afc44a9f84de9e64dda75f589c7fda303825a6 /test/gun_SUITE.erl
parent2e3f2c1474350199ec1f9379c2dbe60627493962 (diff)
downloadgun-a4425a1d7db2d9e35f246aa078c324988ea395f0.tar.gz
gun-a4425a1d7db2d9e35f246aa078c324988ea395f0.tar.bz2
gun-a4425a1d7db2d9e35f246aa078c324988ea395f0.zip
Update tests for OTP-25+
Diffstat (limited to 'test/gun_SUITE.erl')
-rw-r--r--test/gun_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gun_SUITE.erl b/test/gun_SUITE.erl
index 9112c5d..6501355 100644
--- a/test/gun_SUITE.erl
+++ b/test/gun_SUITE.erl
@@ -461,14 +461,14 @@ server_name_indication_custom(_) ->
doc("Ensure a custom server_name_indication is accepted."),
do_server_name_indication("localhost", net_adm:localhost(), #{
tls_opts => [
- {verify, verify_none},
+ {verify, verify_none}, {versions, ['tlsv1.2']},
{server_name_indication, net_adm:localhost()}]
}).
server_name_indication_default(_) ->
doc("Ensure a default server_name_indication is accepted."),
do_server_name_indication(net_adm:localhost(), net_adm:localhost(), #{
- tls_opts => [{verify, verify_none}]
+ tls_opts => [{verify, verify_none}, {versions, ['tlsv1.2']}]
}).
do_server_name_indication(Host, Expected, GunOpts) ->