diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-16 00:56:52 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-16 00:56:52 +0000 |
commit | b1957da6db535df75ec0b264bc9ddabb6b2b6243 (patch) | |
tree | 9d6360b7c73a3476f176dcda3532f36eac3af621 | |
parent | 20bfddde906f2c2667adc204bfe1c72b8be1ca39 (diff) | |
download | chromium_src-b1957da6db535df75ec0b264bc9ddabb6b2b6243.zip chromium_src-b1957da6db535df75ec0b264bc9ddabb6b2b6243.tar.gz chromium_src-b1957da6db535df75ec0b264bc9ddabb6b2b6243.tar.bz2 |
Call the IsCertStatusError function.
R=agl
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/1640011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44724 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | net/url_request/url_request_http_job.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc index 783ee42..feeba7b 100644 --- a/net/url_request/url_request_http_job.cc +++ b/net/url_request/url_request_http_job.cc @@ -821,8 +821,7 @@ void URLRequestHttpJob::ProcessStrictTransportSecurityHeader() { const bool https = response_info_->ssl_info.is_valid(); const bool valid_https = - https && - !(response_info_->ssl_info.cert_status & net::CERT_STATUS_ALL_ERRORS); + https && !net::IsCertStatusError(response_info_->ssl_info.cert_status); std::string name = "Strict-Transport-Security"; std::string value; |