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

Side by Side Diff: net/cert/cert_verify_result.cc

Issue 2176413002: Enable Expect-Staple in SSLClientSocket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Expect-Staple on release builds Created 4 years, 4 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 | « no previous file | net/cert/ocsp_verify_result.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/cert/cert_verify_result.h" 5 #include "net/cert/cert_verify_result.h"
6 6
7 #include <tuple> 7 #include <tuple>
8 8
9 #include "net/cert/x509_certificate.h" 9 #include "net/cert/x509_certificate.h"
10 10
(...skipping 22 matching lines...) Expand all
33 33
34 public_key_hashes.clear(); 34 public_key_hashes.clear();
35 ocsp_result = OCSPVerifyResult(); 35 ocsp_result = OCSPVerifyResult();
36 } 36 }
37 37
38 bool CertVerifyResult::operator==(const CertVerifyResult& other) const { 38 bool CertVerifyResult::operator==(const CertVerifyResult& other) const {
39 return verified_cert->Equals(other.verified_cert.get()) && 39 return verified_cert->Equals(other.verified_cert.get()) &&
40 std::tie(cert_status, has_md2, has_md4, has_md5, has_sha1, 40 std::tie(cert_status, has_md2, has_md4, has_md5, has_sha1,
41 has_sha1_leaf, public_key_hashes, is_issued_by_known_root, 41 has_sha1_leaf, public_key_hashes, is_issued_by_known_root,
42 is_issued_by_additional_trust_anchor, 42 is_issued_by_additional_trust_anchor,
43 common_name_fallback_used) == 43 common_name_fallback_used, ocsp_result) ==
44 std::tie(other.cert_status, other.has_md2, other.has_md4, 44 std::tie(other.cert_status, other.has_md2, other.has_md4,
45 other.has_md5, other.has_sha1, other.has_sha1_leaf, 45 other.has_md5, other.has_sha1, other.has_sha1_leaf,
46 other.public_key_hashes, other.is_issued_by_known_root, 46 other.public_key_hashes, other.is_issued_by_known_root,
47 other.is_issued_by_additional_trust_anchor, 47 other.is_issued_by_additional_trust_anchor,
48 other.common_name_fallback_used); 48 other.common_name_fallback_used, other.ocsp_result);
49 } 49 }
50 50
51 } // namespace net 51 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | net/cert/ocsp_verify_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698