Index: net/socket/ssl_client_socket_openssl.cc |
diff --git a/net/socket/ssl_client_socket_openssl.cc b/net/socket/ssl_client_socket_openssl.cc |
index 721b69c02e2a36846d55cc8966b5c5e5c3c7e8f7..8e169f318c9ae92d9eda518c5a3e4722c11a854e 100644 |
--- a/net/socket/ssl_client_socket_openssl.cc |
+++ b/net/socket/ssl_client_socket_openssl.cc |
@@ -727,6 +727,8 @@ bool SSLClientSocketOpenSSL::GetSSLInfo(SSLInfo* ssl_info) { |
const SSL_CIPHER* cipher = SSL_get_current_cipher(ssl_); |
CHECK(cipher); |
ssl_info->security_bits = SSL_CIPHER_get_bits(cipher, NULL); |
+ ssl_info->key_exchange_info = |
+ SSL_SESSION_get_key_exchange_info(SSL_get_session(ssl_)); |
ssl_info->connection_status = EncodeSSLConnectionStatus( |
static_cast<uint16>(SSL_CIPHER_get_id(cipher)), 0 /* no compression */, |