diff options
author | Ingela Anderton Andin <[email protected]> | 2014-05-15 09:51:26 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-05-15 09:51:26 +0200 |
commit | e7e750a40ff875e6d62f1e7904470222ac8de269 (patch) | |
tree | 99e7ec5fd519ec1f5fdc5300c7af8c0acae9f274 /lib/ssl/src/ssl_connection.erl | |
parent | a0cea0422fbaf6c9eb896fbb6e4f032f2546e903 (diff) | |
parent | a56077709c1a6a25e19c7b5efc5fcfaa223a36c1 (diff) | |
download | otp-e7e750a40ff875e6d62f1e7904470222ac8de269.tar.gz otp-e7e750a40ff875e6d62f1e7904470222ac8de269.tar.bz2 otp-e7e750a40ff875e6d62f1e7904470222ac8de269.zip |
Merge branch 'ia/ssl/dubble-next-proto/OTP-11926' into maint
* ia/ssl/dubble-next-proto/OTP-11926:
ssl: Fix dialyzer spec
ssl: Only allow one next protocol handsake message
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 1eda926bcb..f681204de6 100644 --- a/lib/ssl/src/ssl_connection.erl +++ b/lib/ssl/src/ssl_connection.erl @@ -602,7 +602,7 @@ cipher(#finished{verify_data = Data} = Finished, cipher(#next_protocol{selected_protocol = SelectedProtocol}, #state{role = server, expecting_next_protocol_negotiation = true} = State0, Connection) -> {Record, State} = Connection:next_record(State0#state{next_protocol = SelectedProtocol}), - Connection:next_state(cipher, cipher, Record, State); + Connection:next_state(cipher, cipher, Record, State#state{expecting_next_protocol_negotiation = false}); cipher(timeout, State, _) -> {next_state, cipher, State, hibernate}; |