aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/dtls_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-03-06 15:05:59 +0100
committerIngela Anderton Andin <[email protected]>2017-03-06 16:00:32 +0100
commitd795732ea0fdd669a0b6dc60b199374b432c7cfb (patch)
treef299e228c83ef4e48a2d58c4386ce32c6f370ae3 /lib/ssl/src/dtls_connection.erl
parent2117e29474712445725b30b8b5a8a53b5f99b6a0 (diff)
downloadotp-d795732ea0fdd669a0b6dc60b199374b432c7cfb.tar.gz
otp-d795732ea0fdd669a0b6dc60b199374b432c7cfb.tar.bz2
otp-d795732ea0fdd669a0b6dc60b199374b432c7cfb.zip
dtls: Correct dialyzer spec and postpone inclusion of test
The new_options_in_accept test is not working yet, however DTLS is still work in progress and we want to make a progress merge to avoid merge conflicts with other progress of the ssl application.
Diffstat (limited to 'lib/ssl/src/dtls_connection.erl')
-rw-r--r--lib/ssl/src/dtls_connection.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/dtls_connection.erl b/lib/ssl/src/dtls_connection.erl
index 389368870d..f607c86ae3 100644
--- a/lib/ssl/src/dtls_connection.erl
+++ b/lib/ssl/src/dtls_connection.erl
@@ -488,7 +488,7 @@ handle_common_event(internal, #ssl_tls{type = ?HANDSHAKE,
negotiated_version = Version} = State0) ->
try
case dtls_handshake:get_dtls_handshake(Version, Data, Buffers0) of
- {more_data, Buffers} ->
+ {[], Buffers} ->
{Record, State} = next_record(State0#state{protocol_buffers = Buffers}),
next_event(StateName, Record, State);
{Packets, Buffers} ->