aboutsummaryrefslogtreecommitdiffstats
path: root/test/gun_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/gun_SUITE.erl')
-rw-r--r--test/gun_SUITE.erl8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/gun_SUITE.erl b/test/gun_SUITE.erl
index 00b8eab..9112c5d 100644
--- a/test/gun_SUITE.erl
+++ b/test/gun_SUITE.erl
@@ -460,12 +460,16 @@ retry_timeout(_) ->
server_name_indication_custom(_) ->
doc("Ensure a custom server_name_indication is accepted."),
do_server_name_indication("localhost", net_adm:localhost(), #{
- tls_opts => [{server_name_indication, net_adm:localhost()}]
+ tls_opts => [
+ {verify, verify_none},
+ {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(), #{}).
+ do_server_name_indication(net_adm:localhost(), net_adm:localhost(), #{
+ tls_opts => [{verify, verify_none}]
+ }).
do_server_name_indication(Host, Expected, GunOpts) ->
Self = self(),