aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-07-02 12:25:08 +0200
committerIngela Anderton Andin <[email protected]>2018-07-04 11:02:46 +0200
commit26ed7aa618b4860340d646f8f2b545857cee1289 (patch)
tree21869348d7a99cf5bc0ab639fd09a8283fdee4c6 /lib/ssl/src/ssl_connection.erl
parente6d9c7eb9e62e220bfb6a5e1b5c1b991c7b9c121 (diff)
downloadotp-26ed7aa618b4860340d646f8f2b545857cee1289.tar.gz
otp-26ed7aa618b4860340d646f8f2b545857cee1289.tar.bz2
otp-26ed7aa618b4860340d646f8f2b545857cee1289.zip
ssl: Add connection information on new cipher_suite format
Diffstat (limited to 'lib/ssl/src/ssl_connection.erl')
-rw-r--r--lib/ssl/src/ssl_connection.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_connection.erl b/lib/ssl/src/ssl_connection.erl
index 556c204ab1..8ea4740ea4 100644
--- a/lib/ssl/src/ssl_connection.erl
+++ b/lib/ssl/src/ssl_connection.erl
@@ -1482,6 +1482,7 @@ connection_info(#state{sni_hostname = SNIHostname,
[{protocol, RecordCB:protocol_version(Version)},
{session_id, SessionId},
{cipher_suite, ssl_cipher:erl_suite_definition(CipherSuiteDef)},
+ {selected_cipher_suite, CipherSuiteDef},
{sni_hostname, SNIHostname} | CurveInfo] ++ ssl_options_list(Opts).
security_info(#state{connection_states = ConnectionStates}) ->