aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2016-08-29 17:18:41 +0200
committerIngela Anderton Andin <[email protected]>2016-08-29 17:18:41 +0200
commit57b250922f9016b5a5116e94f1c0c376d128bd80 (patch)
tree14a885eea069cc25640ae6fd50e441f84b820125 /lib/ssl/src
parent2a6750d0804d1e30a5463c8aaf5b7342fda967fe (diff)
downloadotp-57b250922f9016b5a5116e94f1c0c376d128bd80.tar.gz
otp-57b250922f9016b5a5116e94f1c0c376d128bd80.tar.bz2
otp-57b250922f9016b5a5116e94f1c0c376d128bd80.zip
ssl: Remove clause that postponed unexpected messages
Diffstat (limited to 'lib/ssl/src')
-rw-r--r--lib/ssl/src/ssl_connection.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_connection.erl b/lib/ssl/src/ssl_connection.erl
index adee59393e..8a990870e8 100644
--- a/lib/ssl/src/ssl_connection.erl
+++ b/lib/ssl/src/ssl_connection.erl
@@ -824,8 +824,6 @@ handle_common_event(internal, #change_cipher_spec{type = <<1>>}, StateName,
#state{negotiated_version = Version} = State, Connection) ->
Connection:handle_own_alert(?ALERT_REC(?FATAL, ?HANDSHAKE_FAILURE), Version,
StateName, State);
-handle_common_event(internal, _, _, _, _) ->
- {keep_state_and_data, [postpone]};
handle_common_event(_Type, Msg, StateName, #state{negotiated_version = Version} = State,
Connection) ->
Alert = ?ALERT_REC(?FATAL,?UNEXPECTED_MESSAGE),