diff options
author | Ingela Anderton Andin <[email protected]> | 2018-11-07 10:20:56 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2018-11-07 10:20:56 +0100 |
commit | 2160558e72b6d14815761138d5e0370ab89be730 (patch) | |
tree | f03d153db8560a8fb91502df67fb8b2838ef4915 /lib/ssl/src | |
parent | e7e3f59e5350bb39f57f0403f3c78443c58039b1 (diff) | |
download | otp-2160558e72b6d14815761138d5e0370ab89be730.tar.gz otp-2160558e72b6d14815761138d5e0370ab89be730.tar.bz2 otp-2160558e72b6d14815761138d5e0370ab89be730.zip |
ssl: Correct gen_statem return value
Could cause renegotiation to fail
Diffstat (limited to 'lib/ssl/src')
-rw-r--r-- | lib/ssl/src/tls_sender.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_sender.erl b/lib/ssl/src/tls_sender.erl index 8d1938cee7..a245ee2465 100644 --- a/lib/ssl/src/tls_sender.erl +++ b/lib/ssl/src/tls_sender.erl @@ -319,7 +319,7 @@ handle_info({'DOWN', Monitor, _, _, _}, _, #data{connection_monitor = Monitor} = StateData) -> {stop, normal, StateData}; handle_info(_,_,_) -> - {keep_state_and_data}. + keep_state_and_data. send_tls_alert(Alert, #data{negotiated_version = Version, socket = Socket, |