diff options
author | Ingela Anderton Andin <ingela@erlang.org> | 2013-03-05 09:56:08 +0100 |
---|---|---|
committer | Ingela Anderton Andin <ingela@erlang.org> | 2013-03-05 13:04:11 +0100 |
commit | 5f6d51e05ebe72b9beee17595218aa768464abfa (patch) | |
tree | fae4f14017d3b085ed8c618fa6f9cd700f3b64c9 /lib | |
parent | bfb408ae3d424bf8f510806434eb14a730adc4fb (diff) | |
download | otp-5f6d51e05ebe72b9beee17595218aa768464abfa.tar.gz otp-5f6d51e05ebe72b9beee17595218aa768464abfa.tar.bz2 otp-5f6d51e05ebe72b9beee17595218aa768464abfa.zip |
ssl: Clean code thanks to dialyzer
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssl/src/ssl_connection.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_connection.erl b/lib/ssl/src/ssl_connection.erl index bab0bb907a..52ddd3c932 100644 --- a/lib/ssl/src/ssl_connection.erl +++ b/lib/ssl/src/ssl_connection.erl @@ -658,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, |