diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-15 20:31:37 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-15 20:31:37 +0000 |
commit | 89af3d922fca3d76c2bed4b178f9ccc0a4741392 (patch) | |
tree | 11fdd4128125611663080e4a27b10236cbfa4c29 /chrome/common | |
parent | 3cc4d00cae48dad31ac6bb2ed634c8ad5e098b37 (diff) | |
download | chromium_src-89af3d922fca3d76c2bed4b178f9ccc0a4741392.zip chromium_src-89af3d922fca3d76c2bed4b178f9ccc0a4741392.tar.gz chromium_src-89af3d922fca3d76c2bed4b178f9ccc0a4741392.tar.bz2 |
In a fake SSLInfo, set security_bits to -1 instead of 0
because the encryption strength is unknown (0 means no
encryption).
R=finnur
BUG=53366,13049
TEST=no unit test failures
Review URL: http://codereview.chromium.org/3749003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62785 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/net/url_request_intercept_job.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/net/url_request_intercept_job.cc b/chrome/common/net/url_request_intercept_job.cc index 242b7c1..329eea6 100644 --- a/chrome/common/net/url_request_intercept_job.cc +++ b/chrome/common/net/url_request_intercept_job.cc @@ -160,7 +160,7 @@ void URLRequestInterceptJob::GetResponseInfo(net::HttpResponseInfo* info) { Time::Now() + TimeDelta::FromDays(kLifetimeDays)); info->ssl_info.cert_status = 0; - info->ssl_info.security_bits = 0; + info->ssl_info.security_bits = -1; } } |