diff options
author | Péter Dimitrov <[email protected]> | 2019-06-11 16:31:05 +0200 |
---|---|---|
committer | Péter Dimitrov <[email protected]> | 2019-06-12 09:57:24 +0200 |
commit | 1d3f02baffe9c1e13c5c4f439a8d48b774585a99 (patch) | |
tree | 99f284b0fdb8cc243c97ee0f7e88ed2e8db337cd /lib | |
parent | f9f8e4137cc2860444fdf412c5dbf9b7d0cb1cf3 (diff) | |
download | otp-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')
-rw-r--r-- | lib/ssl/test/ssl_test_lib.erl | 2 |
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 |