aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_connection.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-07-05 15:08:18 +0200
committerIngela Anderton Andin <[email protected]>2018-07-05 15:08:18 +0200
commit1ad63034139f1540957821406a2fd78ed0f5048d (patch)
tree0adc385299231f20a6bed61c44535b2bf58d4b34 /lib/ssl/src/ssl_connection.erl
parentbc15cafa37d9b42b8676a40b3befea2e68cacd1b (diff)
parentf67bc13009002c23695a02e8323226bc03eca3f5 (diff)
downloadotp-1ad63034139f1540957821406a2fd78ed0f5048d.tar.gz
otp-1ad63034139f1540957821406a2fd78ed0f5048d.tar.bz2
otp-1ad63034139f1540957821406a2fd78ed0f5048d.zip
Merge branch 'maint'
Diffstat (limited to 'lib/ssl/src/ssl_connection.erl')
-rw-r--r--lib/ssl/src/ssl_connection.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_connection.erl b/lib/ssl/src/ssl_connection.erl
index bd0057243d..2298e67d28 100644
--- a/lib/ssl/src/ssl_connection.erl
+++ b/lib/ssl/src/ssl_connection.erl
@@ -1498,6 +1498,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}) ->
@@ -2538,7 +2539,7 @@ ssl_options_list([ciphers = Key | Keys], [Value | Values], Acc) ->
ssl_options_list(Keys, Values,
[{Key, lists:map(
fun(Suite) ->
- ssl_cipher:erl_suite_definition(Suite)
+ ssl_cipher:suite_definition(Suite)
end, Value)}
| Acc]);
ssl_options_list([Key | Keys], [Value | Values], Acc) ->