diff options
author | Ingela Anderton Andin <[email protected]> | 2019-02-07 10:34:13 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2019-02-08 09:22:27 +0100 |
commit | ff2c0fb176c78dc38cd154313402e1fc53e671fd (patch) | |
tree | befba273d5174829da95aa96de078d637820438b /lib/ssl/src/tls_connection.erl | |
parent | d94c54abadd7d12d29edd2f30b29273fd2635c1a (diff) | |
download | otp-ff2c0fb176c78dc38cd154313402e1fc53e671fd.tar.gz otp-ff2c0fb176c78dc38cd154313402e1fc53e671fd.tar.bz2 otp-ff2c0fb176c78dc38cd154313402e1fc53e671fd.zip |
ssl: Move premaster_secret to handshake_env
Diffstat (limited to 'lib/ssl/src/tls_connection.erl')
-rw-r--r-- | lib/ssl/src/tls_connection.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/src/tls_connection.erl b/lib/ssl/src/tls_connection.erl index a94782f305..e1080b2fc9 100644 --- a/lib/ssl/src/tls_connection.erl +++ b/lib/ssl/src/tls_connection.erl @@ -347,9 +347,9 @@ reinit_handshake_data(#state{handshake_env = HsEnv} =State) -> %% are only needed during the handshake phase. %% To reduce memory foot print of a connection reinitialize them. State#state{ - premaster_secret = undefined, handshake_env = HsEnv#handshake_env{tls_handshake_history = ssl_handshake:init_handshake_history(), - public_key_info = undefined} + public_key_info = undefined, + premaster_secret = undefined} }. select_sni_extension(#client_hello{extensions = HelloExtensions}) -> |