aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2017-09-25 15:41:31 +0200
committerIngela Anderton Andin <[email protected]>2017-09-30 13:38:11 +0200
commitd9031e33817960578219f4c616449ae7f9efb3ea (patch)
tree89954257e0f53833c6479428182be300c50007e9 /lib/ssl/src/tls_connection.erl
parent59042d04ad3d3371132a21423f8ea0e99f120a8b (diff)
downloadotp-d9031e33817960578219f4c616449ae7f9efb3ea.tar.gz
otp-d9031e33817960578219f4c616449ae7f9efb3ea.tar.bz2
otp-d9031e33817960578219f4c616449ae7f9efb3ea.zip
dtls: Compleate DTLS renegotiate implementation
Diffstat (limited to 'lib/ssl/src/tls_connection.erl')
-rw-r--r--lib/ssl/src/tls_connection.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl
index e3ffbea3d3..010e904839 100644
--- a/lib/ssl/src/tls_connection.erl
+++ b/lib/ssl/src/tls_connection.erl
@@ -53,7 +53,7 @@
%% Handshake handling
-export([renegotiate/2, send_handshake/2,
queue_handshake/2, queue_change_cipher/2,
- reinit_handshake_data/1, select_sni_extension/1]).
+ reinit_handshake_data/1, select_sni_extension/1, empty_connection_state/2]).
%% Alert and close handling
-export([send_alert/2, close/5, protocol_name/0]).
@@ -152,6 +152,9 @@ select_sni_extension(#client_hello{extensions = HelloExtensions}) ->
select_sni_extension(_) ->
undefined.
+empty_connection_state(ConnectionEnd, BeastMitigation) ->
+ ssl_record:empty_connection_state(ConnectionEnd, BeastMitigation).
+
encode_data(Data, Version, ConnectionStates0)->
tls_record:encode_data(Data, Version, ConnectionStates0).