aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/tls_handshake_1_3.erl
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2019-03-18 16:19:02 +0100
committerPéter Dimitrov <[email protected]>2019-03-18 16:25:06 +0100
commit179cf440a2f6a6fc435bad2f24b87d287ae57de4 (patch)
treee9329cceebd435ec25cb29d53e3f629f1953f730 /lib/ssl/src/tls_handshake_1_3.erl
parent85f55f610334d4b539e6420a68f80f14d530da8c (diff)
downloadotp-179cf440a2f6a6fc435bad2f24b87d287ae57de4.tar.gz
otp-179cf440a2f6a6fc435bad2f24b87d287ae57de4.tar.bz2
otp-179cf440a2f6a6fc435bad2f24b87d287ae57de4.zip
ssl: Fix ssl:connection_information/1 in TLS 1.3
Store cipher suite information in session record. Test ssl:connection_information/1 in a TLS 1.3 connection. Change-Id: I7193e6dd2544540e446b5777b5768806cecf2bd3
Diffstat (limited to 'lib/ssl/src/tls_handshake_1_3.erl')
-rw-r--r--lib/ssl/src/tls_handshake_1_3.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssl/src/tls_handshake_1_3.erl b/lib/ssl/src/tls_handshake_1_3.erl
index 1e8b046c1e..0efedf3400 100644
--- a/lib/ssl/src/tls_handshake_1_3.erl
+++ b/lib/ssl/src/tls_handshake_1_3.erl
@@ -1007,7 +1007,8 @@ update_start_state(#state{connection_states = ConnectionStates0,
session = Session#session{session_id = SessionId,
ecc = Group,
sign_alg = SelectedSignAlg,
- dh_public_value = ClientPubKey},
+ dh_public_value = ClientPubKey,
+ cipher_suite = Cipher},
connection_env = CEnv#connection_env{negotiated_version = {3,4}}}.