Index: net/socket/ssl_client_socket_impl.cc |
diff --git a/net/socket/ssl_client_socket_impl.cc b/net/socket/ssl_client_socket_impl.cc |
index de52c6013b5c961a3209c595109ee878956d5f4e..21135add6e7382f0c108cdaa2862d69efcfb8ade 100644 |
--- a/net/socket/ssl_client_socket_impl.cc |
+++ b/net/socket/ssl_client_socket_impl.cc |
@@ -1181,10 +1181,10 @@ int SSLClientSocketImpl::DoHandshakeComplete(int result) { |
if (IsRenegotiationAllowed()) |
SSL_set_renegotiate_mode(ssl_, ssl_renegotiate_freely); |
- uint8_t server_key_exchange_hash = SSL_get_server_key_exchange_hash(ssl_); |
- if (server_key_exchange_hash != TLSEXT_hash_none) { |
- UMA_HISTOGRAM_SPARSE_SLOWLY("Net.SSLServerKeyExchangeHash", |
- server_key_exchange_hash); |
+ uint16_t signature_algorithm = SSL_get_peer_signature_algorithm(ssl_); |
+ if (signature_algorithm != 0) { |
+ UMA_HISTOGRAM_SPARSE_SLOWLY("Net.SSLSignatureAlgorithm", |
+ signature_algorithm); |
} |
// Verify the certificate. |