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 171bd36406c0ef06130dab637b6549735f30f7ee..c4489fba65b04edab4e94d3c9b2089b98db5036e 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 */, |