Index: net/socket/ssl_client_socket_nss.cc |
diff --git a/net/socket/ssl_client_socket_nss.cc b/net/socket/ssl_client_socket_nss.cc |
index c9cbdf63d28e98da41311f323dcebca8e1588055..9d12c011547b319c801cfebd27cbde1053ea9f8c 100644 |
--- a/net/socket/ssl_client_socket_nss.cc |
+++ b/net/socket/ssl_client_socket_nss.cc |
@@ -2330,7 +2330,6 @@ int SSLClientSocketNSS::DoVerifyCert(int result) { |
int SSLClientSocketNSS::DoVerifyCertComplete(int result) { |
verifier_.reset(); |
- |
if (!start_cert_verification_time_.is_null()) { |
base::TimeDelta verify_time = |
base::TimeTicks::Now() - start_cert_verification_time_; |
@@ -2340,6 +2339,9 @@ int SSLClientSocketNSS::DoVerifyCertComplete(int result) { |
UMA_HISTOGRAM_TIMES("Net.SSLCertVerificationTimeError", verify_time); |
} |
+ if (ssl_host_info_.get()) |
+ ssl_host_info_->set_cert_verification_finished_time(); |
+ |
// We used to remember the intermediate CA certs in the NSS database |
// persistently. However, NSS opens a connection to the SQLite database |
// during NSS initialization and doesn't close the connection until NSS |