aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test/ssl_test_lib.erl
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2019-06-11 16:31:05 +0200
committerPéter Dimitrov <[email protected]>2019-06-12 09:57:24 +0200
commit1d3f02baffe9c1e13c5c4f439a8d48b774585a99 (patch)
tree99f284b0fdb8cc243c97ee0f7e88ed2e8db337cd /lib/ssl/test/ssl_test_lib.erl
parentf9f8e4137cc2860444fdf412c5dbf9b7d0cb1cf3 (diff)
downloadotp-1d3f02baffe9c1e13c5c4f439a8d48b774585a99.tar.gz
otp-1d3f02baffe9c1e13c5c4f439a8d48b774585a99.tar.bz2
otp-1d3f02baffe9c1e13c5c4f439a8d48b774585a99.zip
ssl: Fix run_client_error/1 in ssl_test_lib
Fix run_client_error/1 to properly propagate errors from the test client.
Diffstat (limited to 'lib/ssl/test/ssl_test_lib.erl')
-rw-r--r--lib/ssl/test/ssl_test_lib.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/test/ssl_test_lib.erl b/lib/ssl/test/ssl_test_lib.erl
index 0318cc81e3..513b51fc69 100644
--- a/lib/ssl/test/ssl_test_lib.erl
+++ b/lib/ssl/test/ssl_test_lib.erl
@@ -1105,7 +1105,7 @@ run_client_error(Opts) ->
ct:log("~p:~p~nssl:connect(~p, ~p, ~p)~n", [?MODULE,?LINE, Host, Port, Options]),
Error = Transport:connect(Host, Port, Options),
case Error of
- {error, {tls_alert, _}} ->
+ {error, _} ->
Pid ! {self(), Error};
{ok, _Socket} ->
receive