diff options
author | Ingela Anderton Andin <[email protected]> | 2018-12-18 12:30:46 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2018-12-20 12:00:23 +0100 |
commit | d6b4f6dd29adc82bc3cedd143e30bef997db9b0c (patch) | |
tree | 44797953f66b429a72eaffe8a1394e7068c841ef /lib/ssl/src/ssl_connection.erl | |
parent | d82e39db62513c81a12ee015ba44aae1837662ff (diff) | |
download | otp-d6b4f6dd29adc82bc3cedd143e30bef997db9b0c.tar.gz otp-d6b4f6dd29adc82bc3cedd143e30bef997db9b0c.tar.bz2 otp-d6b4f6dd29adc82bc3cedd143e30bef997db9b0c.zip |
ssl: Fix renegotiation with new TLS sender
Wtite connection state was not synchronized when peer initiated renegotiation
Diffstat (limited to 'lib/ssl/src/ssl_connection.erl')
-rw-r--r-- | lib/ssl/src/ssl_connection.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_connection.erl b/lib/ssl/src/ssl_connection.erl index 619824a7f2..390bdf0810 100644 --- a/lib/ssl/src/ssl_connection.erl +++ b/lib/ssl/src/ssl_connection.erl @@ -1131,7 +1131,7 @@ handle_common_event(internal, {handshake, {#hello_request{} = Handshake, _}}, co handle_common_event(internal, {handshake, {#hello_request{}, _}}, StateName, #state{static_env = #static_env{role = client}}, _) when StateName =/= connection -> - {keep_state_and_data}; + keep_state_and_data; handle_common_event(internal, {handshake, {Handshake, Raw}}, StateName, #state{tls_handshake_history = Hs0} = State0, Connection) -> |