aboutsummaryrefslogtreecommitdiffstats
path: root/test/socks_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/socks_SUITE.erl')
-rw-r--r--test/socks_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/socks_SUITE.erl b/test/socks_SUITE.erl
index bd88cbb..19d15ca 100644
--- a/test/socks_SUITE.erl
+++ b/test/socks_SUITE.erl
@@ -50,7 +50,8 @@ do_proxy_init(Parent, Transport, Auth) ->
gen_tcp:listen(0, [binary, {active, false}]);
gun_tls ->
Opts = ct_helper:get_certs_from_ets(),
- ssl:listen(0, [binary, {active, false}|Opts])
+ ssl:listen(0, [binary, {active, false}, {verify, verify_none},
+ {fail_if_no_peer_cert, false}|Opts])
end,
{ok, {_, Port}} = Transport:sockname(ListenSocket),
Parent ! {self(), Port},