diff options
author | Ingela Anderton Andin <[email protected]> | 2019-05-29 22:53:01 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2019-06-05 11:51:48 +0200 |
commit | 9fdfaa533a131aa1b6b73accf739bdf23be84fb6 (patch) | |
tree | 28c15447e71e4c2bb29d1f0137146942806b68c1 /lib/ssl/test/ssl_test_lib.erl | |
parent | abbe8d424676a473bcebdf3b97996ac7a5a70f16 (diff) | |
download | otp-9fdfaa533a131aa1b6b73accf739bdf23be84fb6.tar.gz otp-9fdfaa533a131aa1b6b73accf739bdf23be84fb6.tar.bz2 otp-9fdfaa533a131aa1b6b73accf739bdf23be84fb6.zip |
ssl: Fix broken return value
Diffstat (limited to 'lib/ssl/test/ssl_test_lib.erl')
-rw-r--r-- | lib/ssl/test/ssl_test_lib.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ssl/test/ssl_test_lib.erl b/lib/ssl/test/ssl_test_lib.erl index 3b161a0c8a..070093190c 100644 --- a/lib/ssl/test/ssl_test_lib.erl +++ b/lib/ssl/test/ssl_test_lib.erl @@ -159,6 +159,7 @@ connect(ListenSocket, Node, N, _, Timeout, SslOpts, [_|_] =ContOpts) -> case ssl:handshake(AcceptSocket, SslOpts, Timeout) of {ok, Socket0, Ext} -> + [_|_] = maps:get(sni, Ext), ct:log("Ext ~p:~n", [Ext]), ct:log("~p:~p~nssl:handshake_continue(~p,~p,~p)~n", [?MODULE,?LINE, Socket0, ContOpts,Timeout]), case ssl:handshake_continue(Socket0, ContOpts, Timeout) of |