aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
Diffstat (limited to 'lib/diameter')
-rw-r--r--lib/diameter/src/diameter.app.src2
-rw-r--r--lib/diameter/src/transport/diameter_tcp.erl4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/diameter/src/diameter.app.src b/lib/diameter/src/diameter.app.src
index 1521f3c006..5a90e89e44 100644
--- a/lib/diameter/src/diameter.app.src
+++ b/lib/diameter/src/diameter.app.src
@@ -31,7 +31,7 @@
{stdlib, "2.4"}, {kernel, "3.2"}%, {erts, "10.0"}
%% {syntax-tools, "1.6,18"}
%% {runtime-tools, "1.8.16"}
- %, {ssl, "6.0"}
+ %, {ssl, "9.0"}
]},
{env, []},
{mod, {diameter_app, []}},
diff --git a/lib/diameter/src/transport/diameter_tcp.erl b/lib/diameter/src/transport/diameter_tcp.erl
index a8639baa11..681d273d07 100644
--- a/lib/diameter/src/transport/diameter_tcp.erl
+++ b/lib/diameter/src/transport/diameter_tcp.erl
@@ -716,7 +716,7 @@ tls_handshake(_, false, S) ->
tls(connect, Sock, Opts) ->
ssl:connect(Sock, Opts);
tls(accept, Sock, Opts) ->
- ssl:ssl_accept(Sock, Opts).
+ ssl:handshake(Sock, Opts). %% assume no handshake option
%% recv/2
%%
@@ -839,7 +839,7 @@ start_fragment_timer(#transport{timeout = Tmo} = S) ->
accept(ssl, LSock) ->
case ssl:transport_accept(LSock) of
{ok, Sock} ->
- {ssl:ssl_accept(Sock), Sock};
+ ssl:handshake(Sock);
{error, _} = No ->
No
end;