aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/dtls_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2019-01-29 15:12:41 +0100
committerIngela Anderton Andin <[email protected]>2019-02-08 09:22:26 +0100
commite8ccff6724b8bd82f4eddb6255a059b10a787722 (patch)
tree8b91b06f707c9f0186837e3c853b68fcf35bc225 /lib/ssl/src/dtls_connection.erl
parent2b9412e026ab58bac5b61f239d607db6482974ef (diff)
downloadotp-e8ccff6724b8bd82f4eddb6255a059b10a787722.tar.gz
otp-e8ccff6724b8bd82f4eddb6255a059b10a787722.tar.bz2
otp-e8ccff6724b8bd82f4eddb6255a059b10a787722.zip
ssl: Add key exchange items to handshake_env
Diffstat (limited to 'lib/ssl/src/dtls_connection.erl')
-rw-r--r--lib/ssl/src/dtls_connection.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/dtls_connection.erl b/lib/ssl/src/dtls_connection.erl
index 86f79ed7e3..a11e0a0ac6 100644
--- a/lib/ssl/src/dtls_connection.erl
+++ b/lib/ssl/src/dtls_connection.erl
@@ -338,8 +338,8 @@ reinit(State) ->
reinit_handshake_data(#state{protocol_buffers = Buffers,
handshake_env = HsEnv} = State) ->
State#state{premaster_secret = undefined,
- public_key_info = undefined,
- handshake_env = HsEnv#handshake_env{tls_handshake_history = ssl_handshake:init_handshake_history()},
+ handshake_env = HsEnv#handshake_env{tls_handshake_history = ssl_handshake:init_handshake_history(),
+ public_key_info = undefined},
flight_state = {retransmit, ?INITIAL_RETRANSMIT_TIMEOUT},
flight_buffer = new_flight(),
protocol_buffers =