diff options
author | palmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-17 22:00:08 +0000 |
---|---|---|
committer | palmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-17 22:00:08 +0000 |
commit | e3cf2313e15f3e8660e1d2948aad4670f040fe91 (patch) | |
tree | c200f81aeb4c894ee206ed007bf9a66f4ae87ded /content/browser/ssl/ssl_policy.cc | |
parent | 5922cb23df5b69ece5fb4a022521a591cad21cf4 (diff) | |
download | chromium_src-e3cf2313e15f3e8660e1d2948aad4670f040fe91.zip chromium_src-e3cf2313e15f3e8660e1d2948aad4670f040fe91.tar.gz chromium_src-e3cf2313e15f3e8660e1d2948aad4670f040fe91.tar.bz2 |
Rename is_hsts_host to fatal.
Per wtc: the old name was too specific, and became confusing because we now
also have certificate errors that users cannot override, but for reasons
other than (although still closely related to) HSTS.
BUG=109941
Review URL: https://chromiumcodereview.appspot.com/9188019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117968 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/ssl/ssl_policy.cc')
-rw-r--r-- | content/browser/ssl/ssl_policy.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/ssl/ssl_policy.cc b/content/browser/ssl/ssl_policy.cc index 5202655..4b22e683 100644 --- a/content/browser/ssl/ssl_policy.cc +++ b/content/browser/ssl/ssl_policy.cc @@ -63,7 +63,7 @@ void SSLPolicy::OnCertError(SSLCertErrorHandler* handler) { case net::ERR_CERT_DATE_INVALID: case net::ERR_CERT_AUTHORITY_INVALID: case net::ERR_CERT_WEAK_SIGNATURE_ALGORITHM: - OnCertErrorInternal(handler, !handler->is_hsts_host()); + OnCertErrorInternal(handler, !handler->fatal()); break; case net::ERR_CERT_NO_REVOCATION_MECHANISM: // Ignore this error. |