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

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

Issue 949633002: Include both certificate chains in invalid cert reporting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add a comment to cert logger pb Created 5 years, 10 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
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 "net/cert/x509_certificate.h" 7 #include "net/cert/x509_certificate.h"
8 8
9 namespace net { 9 namespace net {
10 10
11 CertVerifyResult::CertVerifyResult() { 11 CertVerifyResult::CertVerifyResult() {
12 Reset(); 12 Reset();
13 } 13 }
14 14
15 CertVerifyResult::~CertVerifyResult() { 15 CertVerifyResult::~CertVerifyResult() {
16 } 16 }
17 17
18 void CertVerifyResult::Reset() { 18 void CertVerifyResult::Reset() {
19 verified_cert = NULL; 19 verified_cert = NULL;
20 unverified_server_cert = NULL;
20 cert_status = 0; 21 cert_status = 0;
21 has_md2 = false; 22 has_md2 = false;
22 has_md4 = false; 23 has_md4 = false;
23 has_md5 = false; 24 has_md5 = false;
24 has_sha1 = false; 25 has_sha1 = false;
25 is_issued_by_known_root = false; 26 is_issued_by_known_root = false;
26 is_issued_by_additional_trust_anchor = false; 27 is_issued_by_additional_trust_anchor = false;
27 common_name_fallback_used = false; 28 common_name_fallback_used = false;
28 29
29 public_key_hashes.clear(); 30 public_key_hashes.clear();
30 } 31 }
31 32
32 } // namespace net 33 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698