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

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

Issue 649413004: net: disable SSLv3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: g cl try Created 6 years, 1 month 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 | « chrome/common/localized_error.cc ('k') | net/url_request/url_request_unittest.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 namespace net { 7 namespace net {
8 8
9 const uint16 kDefaultSSLVersionMin = SSL_PROTOCOL_VERSION_SSL3; 9 const uint16 kDefaultSSLVersionMin = SSL_PROTOCOL_VERSION_TLS1;
10 10
11 const uint16 kDefaultSSLVersionMax = SSL_PROTOCOL_VERSION_TLS1_2; 11 const uint16 kDefaultSSLVersionMax = SSL_PROTOCOL_VERSION_TLS1_2;
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()
(...skipping 28 matching lines...) Expand all
48 if (der_cert == allowed_bad_certs[i].der_cert) { 48 if (der_cert == allowed_bad_certs[i].der_cert) {
49 if (cert_status) 49 if (cert_status)
50 *cert_status = allowed_bad_certs[i].cert_status; 50 *cert_status = allowed_bad_certs[i].cert_status;
51 return true; 51 return true;
52 } 52 }
53 } 53 }
54 return false; 54 return false;
55 } 55 }
56 56
57 } // namespace net 57 } // namespace net
OLDNEW
« no previous file with comments | « chrome/common/localized_error.cc ('k') | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698