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

Unified Diff: net/socket_stream/socket_stream.cc

Issue 578553004: Remove the "snionly" concept from the HSTS preload. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ... Created 6 years, 3 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 | « net/socket/ssl_client_socket_openssl.cc ('k') | net/socket_stream/socket_stream_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket_stream/socket_stream.cc
diff --git a/net/socket_stream/socket_stream.cc b/net/socket_stream/socket_stream.cc
index f19a2e928f90eb0c0d6232aaf16d07b30f4199e0..422d61d45203c324fd48ed381b58dd34a3e2fd95 100644
--- a/net/socket_stream/socket_stream.cc
+++ b/net/socket_stream/socket_stream.cc
@@ -1340,11 +1340,7 @@ int SocketStream::HandleCertificateError(int result) {
ssl_socket->GetSSLInfo(&ssl_info);
TransportSecurityState* state = context_->transport_security_state();
- const bool fatal =
- state &&
- state->ShouldSSLErrorsBeFatal(
- url_.host(),
- SSLConfigService::IsSNIAvailable(context_->ssl_config_service()));
+ const bool fatal = state && state->ShouldSSLErrorsBeFatal(url_.host());
delegate_->OnSSLCertificateError(this, ssl_info, fatal);
return ERR_IO_PENDING;
« no previous file with comments | « net/socket/ssl_client_socket_openssl.cc ('k') | net/socket_stream/socket_stream_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698