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

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

Issue 1135373002: Updated NetLog::ParametersCallback & all related calbacks returning value as scoped_ptr<base::Value… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months 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.h ('k') | net/ssl/ssl_config_service.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.h" 5 #include "net/ssl/ssl_config.h"
6 6
7 #include "net/socket/ssl_client_socket.h" 7 #include "net/socket/ssl_client_socket.h"
8 8
9 namespace net { 9 namespace net {
10 10
11 const uint16 kDefaultSSLVersionMin = SSL_PROTOCOL_VERSION_TLS1; 11 const uint16 kDefaultSSLVersionMin = SSL_PROTOCOL_VERSION_TLS1;
12 12
13 const uint16 kDefaultSSLVersionFallbackMin = SSL_PROTOCOL_VERSION_TLS1; 13 const uint16 kDefaultSSLVersionFallbackMin = SSL_PROTOCOL_VERSION_TLS1;
14 14
15 SSLConfig::CertAndStatus::CertAndStatus() : cert_status(0) {} 15 SSLConfig::CertAndStatus::CertAndStatus() : cert_status(0) {}
16 16
17 SSLConfig::CertAndStatus::~CertAndStatus() {} 17 SSLConfig::CertAndStatus::~CertAndStatus() {}
18 18
19 SSLConfig::SSLConfig() 19 SSLConfig::SSLConfig()
20 : rev_checking_enabled(false), 20 : rev_checking_enabled(false),
21 rev_checking_required_local_anchors(false), 21 rev_checking_required_local_anchors(false),
22 version_min(kDefaultSSLVersionMin), 22 version_min(kDefaultSSLVersionMin),
23 version_max(SSLClientSocket::GetMaxSupportedSSLVersion()), 23 version_max(SSLClientSocket::GetMaxSupportedSSLVersion()),
24 version_fallback_min(kDefaultSSLVersionFallbackMin), 24 version_fallback_min(kDefaultSSLVersionFallbackMin),
25 enable_deprecated_cipher_suites(false), 25 enable_deprecated_cipher_suites(false),
26 channel_id_enabled(true), 26 channel_id_enabled(true),
27 false_start_enabled(true), 27 false_start_enabled(true),
28 signed_cert_timestamps_enabled(true), 28 signed_cert_timestamps_enabled(true),
29 require_forward_secrecy(false), 29 require_ecdhe(false),
30 send_client_cert(false), 30 send_client_cert(false),
31 verify_ev_cert(false), 31 verify_ev_cert(false),
32 version_fallback(false), 32 version_fallback(false),
33 cert_io_enabled(true), 33 cert_io_enabled(true),
34 renego_allowed_default(false), 34 renego_allowed_default(false),
35 fastradio_padding_enabled(false), 35 fastradio_padding_enabled(false),
36 fastradio_padding_eligible(false) { 36 fastradio_padding_eligible(false) {
37 } 37 }
38 38
39 SSLConfig::~SSLConfig() {} 39 SSLConfig::~SSLConfig() {}
(...skipping 12 matching lines...) Expand all
52 if (der_cert == allowed_bad_certs[i].der_cert) { 52 if (der_cert == allowed_bad_certs[i].der_cert) {
53 if (cert_status) 53 if (cert_status)
54 *cert_status = allowed_bad_certs[i].cert_status; 54 *cert_status = allowed_bad_certs[i].cert_status;
55 return true; 55 return true;
56 } 56 }
57 } 57 }
58 return false; 58 return false;
59 } 59 }
60 60
61 } // namespace net 61 } // namespace net
OLDNEW
« no previous file with comments | « net/ssl/ssl_config.h ('k') | net/ssl/ssl_config_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698