Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Unified Diff: net/socket/ssl_client_socket_impl.cc

Issue 2108153003: Roll src/third_party/boringssl/src 3cab5572b..95c6956 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: roll a little further Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/gn_migration.gypi ('k') | third_party/boringssl/BUILD.generated.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « build/gn_migration.gypi ('k') | third_party/boringssl/BUILD.generated.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698