summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-12 22:38:20 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-12 22:38:20 +0000
commit8c6af143082a40c8583e792c1500d4c1cfeb1ad1 (patch)
tree8e3fc222f9f4d5e060a948ed89c44375e2121923 /net/base
parent0d5bfb0221d1ce4fca44e1452c634082db562903 (diff)
downloadchromium_src-8c6af143082a40c8583e792c1500d4c1cfeb1ad1.zip
chromium_src-8c6af143082a40c8583e792c1500d4c1cfeb1ad1.tar.gz
chromium_src-8c6af143082a40c8583e792c1500d4c1cfeb1ad1.tar.bz2
Simplify a comparison for disabled cipher suites in SSLConfigService
R=wtc@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/8243001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105186 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/ssl_config_service.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/net/base/ssl_config_service.cc b/net/base/ssl_config_service.cc
index 3387550..c0110a9 100644
--- a/net/base/ssl_config_service.cc
+++ b/net/base/ssl_config_service.cc
@@ -137,12 +137,8 @@ void SSLConfigService::ProcessConfigUpdate(const SSLConfig& orig_config,
(orig_config.rev_checking_enabled != new_config.rev_checking_enabled) ||
(orig_config.ssl3_enabled != new_config.ssl3_enabled) ||
(orig_config.tls1_enabled != new_config.tls1_enabled) ||
- (orig_config.disabled_cipher_suites.size() !=
- new_config.disabled_cipher_suites.size());
- if (!config_changed) {
- config_changed = (orig_config.disabled_cipher_suites !=
- new_config.disabled_cipher_suites);
- }
+ (orig_config.disabled_cipher_suites !=
+ new_config.disabled_cipher_suites);
if (config_changed)
FOR_EACH_OBSERVER(Observer, observer_list_, OnSSLConfigChanged());