aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-03-06 10:04:21 +0100
committerIngela Anderton Andin <[email protected]>2013-03-06 10:04:21 +0100
commit5086c3eea85e1c4cb7e9463c4ca919a32e3cb21c (patch)
tree35bbdd3b393073881eeaf540ca84414e1caaed6a /lib/ssl/src/ssl_connection.erl
parentde50f9f12168325270b67e59782c10f91462a451 (diff)
parent5f6d51e05ebe72b9beee17595218aa768464abfa (diff)
downloadotp-5086c3eea85e1c4cb7e9463c4ca919a32e3cb21c.tar.gz
otp-5086c3eea85e1c4cb7e9463c4ca919a32e3cb21c.tar.bz2
otp-5086c3eea85e1c4cb7e9463c4ca919a32e3cb21c.zip
Merge branch 'ia/ssl/versions-option' into maint
* ia/ssl/versions-option: ssl: Clean code thanks to dialyzer ssl: Check that negotiated version is a supported version.
Diffstat (limited to 'lib/ssl/src/ssl_connection.erl')
-rw-r--r--lib/ssl/src/ssl_connection.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/ssl/src/ssl_connection.erl b/lib/ssl/src/ssl_connection.erl
index 8f4fd88d42..52ddd3c932 100644
--- a/lib/ssl/src/ssl_connection.erl
+++ b/lib/ssl/src/ssl_connection.erl
@@ -73,7 +73,6 @@
session_cache, %
session_cache_cb, %
negotiated_version, % tls_version()
- supported_protocol_versions, % [atom()]
client_certificate_requested = false,
key_algorithm, % atom as defined by cipher_suite
hashsign_algorithm, % atom as defined by cipher_suite
@@ -659,8 +658,7 @@ cipher(#certificate_verify{signature = Signature, hashsign_algorithm = CertHashS
% client must send a next protocol message if we are expecting it
cipher(#finished{}, #state{role = server, expecting_next_protocol_negotiation = true,
next_protocol = undefined, negotiated_version = Version} = State0) ->
- handle_own_alert(?ALERT_REC(?FATAL,?UNEXPECTED_MESSAGE), Version, cipher, State0),
- {stop, normal, State0};
+ handle_own_alert(?ALERT_REC(?FATAL,?UNEXPECTED_MESSAGE), Version, cipher, State0);
cipher(#finished{verify_data = Data} = Finished,
#state{negotiated_version = Version,