Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: net/ssl/ssl_config_service.cc

Issue 83333003: Add support for fetching Certificate Transparency SCTs over a TLS extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/ssl/ssl_config_service.h ('k') | net/test/spawned_test_server/base_test_server.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/ssl/ssl_config_service.h" 5 #include "net/ssl/ssl_config_service.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/synchronization/lock.h" 9 #include "base/synchronization/lock.h"
10 #include "net/cert/crl_set.h" 10 #include "net/cert/crl_set.h"
(...skipping 25 matching lines...) Expand all
36 SSLConfig::CertAndStatus::~CertAndStatus() {} 36 SSLConfig::CertAndStatus::~CertAndStatus() {}
37 37
38 SSLConfig::SSLConfig() 38 SSLConfig::SSLConfig()
39 : rev_checking_enabled(false), 39 : rev_checking_enabled(false),
40 rev_checking_required_local_anchors(false), 40 rev_checking_required_local_anchors(false),
41 version_min(g_default_version_min), 41 version_min(g_default_version_min),
42 version_max(g_default_version_max), 42 version_max(g_default_version_max),
43 cached_info_enabled(false), 43 cached_info_enabled(false),
44 channel_id_enabled(true), 44 channel_id_enabled(true),
45 false_start_enabled(true), 45 false_start_enabled(true),
46 signed_cert_timestamps_enabled(true),
46 require_forward_secrecy(false), 47 require_forward_secrecy(false),
47 unrestricted_ssl3_fallback_enabled(false), 48 unrestricted_ssl3_fallback_enabled(false),
48 send_client_cert(false), 49 send_client_cert(false),
49 verify_ev_cert(false), 50 verify_ev_cert(false),
50 version_fallback(false), 51 version_fallback(false),
51 cert_io_enabled(true) { 52 cert_io_enabled(true) {
52 } 53 }
53 54
54 SSLConfig::~SSLConfig() { 55 SSLConfig::~SSLConfig() {
55 } 56 }
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 bool SSLConfigService::IsSNIAvailable(SSLConfigService* service) { 178 bool SSLConfigService::IsSNIAvailable(SSLConfigService* service) {
178 if (!service) 179 if (!service)
179 return false; 180 return false;
180 181
181 SSLConfig ssl_config; 182 SSLConfig ssl_config;
182 service->GetSSLConfig(&ssl_config); 183 service->GetSSLConfig(&ssl_config);
183 return ssl_config.version_max >= SSL_PROTOCOL_VERSION_TLS1; 184 return ssl_config.version_max >= SSL_PROTOCOL_VERSION_TLS1;
184 } 185 }
185 186
186 } // namespace net 187 } // namespace net
OLDNEW
« no previous file with comments | « net/ssl/ssl_config_service.h ('k') | net/test/spawned_test_server/base_test_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698