summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-18 17:12:55 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-18 17:12:55 +0000
commitbcd7af0342de839aee24fbb7221eff5a958707b8 (patch)
tree7c5c9b656af6f2de5728ef944c411625332de2bb
parentb4bbebdf9de2a9fedb3b15668af72ad593e2538a (diff)
downloadchromium_src-bcd7af0342de839aee24fbb7221eff5a958707b8.zip
chromium_src-bcd7af0342de839aee24fbb7221eff5a958707b8.tar.gz
chromium_src-bcd7af0342de839aee24fbb7221eff5a958707b8.tar.bz2
Windows build fix.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52858 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/page_info_model.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/page_info_model.cc b/chrome/browser/page_info_model.cc
index 4d83dfc..aed8b23 100644
--- a/chrome/browser/page_info_model.cc
+++ b/chrome/browser/page_info_model.cc
@@ -151,10 +151,10 @@ PageInfoModel::PageInfoModel(Profile* profile,
uint16 cipher_suite =
net::SSLConnectionStatusToCipherSuite(ssl.connection_status());
if (ssl.security_bits() > 0 && cipher_suite) {
- bool did_fallback = ssl.connection_status() &
- net::SSL_CONNECTION_SSL3_FALLBACK;
- bool no_renegotiation = ssl.connection_status() &
- net::SSL_CONNECTION_NO_RENEGOTIATION_EXTENSION;
+ bool did_fallback = (ssl.connection_status() &
+ net::SSL_CONNECTION_SSL3_FALLBACK) != 0;
+ bool no_renegotiation = (ssl.connection_status() &
+ net::SSL_CONNECTION_NO_RENEGOTIATION_EXTENSION) != 0;
const char *key_exchange, *cipher, *mac;
net::SSLCipherSuiteToStrings(&key_exchange, &cipher, &mac, cipher_suite);