diff options
author | Ingela Anderton Andin <[email protected]> | 2018-02-19 15:11:05 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2018-02-19 15:11:05 +0100 |
commit | 9b8ccd4884ce479988868d72644fbd9e85170025 (patch) | |
tree | 626cb141b1224e4ab0516b22043d1fa6cd5b50db /lib | |
parent | 2e7160f3c28d495a8b798c5f8b484b1b977cee8e (diff) | |
download | otp-9b8ccd4884ce479988868d72644fbd9e85170025.tar.gz otp-9b8ccd4884ce479988868d72644fbd9e85170025.tar.bz2 otp-9b8ccd4884ce479988868d72644fbd9e85170025.zip |
ssl: Backport PR-1709
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssl/src/ssl_connection.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_connection.erl b/lib/ssl/src/ssl_connection.erl index 0e51106bfb..2db9172d50 100644 --- a/lib/ssl/src/ssl_connection.erl +++ b/lib/ssl/src/ssl_connection.erl @@ -858,8 +858,8 @@ handle_common_event(internal, #change_cipher_spec{type = <<1>>}, StateName, StateName, State); handle_common_event(_Type, Msg, StateName, #state{negotiated_version = Version} = State, _) -> - Alert = ?ALERT_REC(?FATAL,?UNEXPECTED_MESSAGE), - handle_own_alert(Alert, Version, {StateName, Msg}, State). + Alert = ?ALERT_REC(?FATAL,?UNEXPECTED_MESSAGE, {unexpected_msg, Msg}), + handle_own_alert(Alert, Version, StateName, State). handle_call({application_data, _Data}, _, _, _, _) -> %% In renegotiation priorities handshake, send data when handshake is finished |