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

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

Issue 6874039: Return the constructed certificate chain in X509Certificate::Verify() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to trunk Created 9 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 | Annotate | Revision Log
« no previous file with comments | « net/base/cert_verify_result.h ('k') | net/base/x509_certificate.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 (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/base/cert_verify_result.h" 5 #include "net/base/cert_verify_result.h"
6 6
7 #include "net/base/x509_certificate.h"
8
7 namespace net { 9 namespace net {
8 10
9 CertVerifyResult::CertVerifyResult() { 11 CertVerifyResult::CertVerifyResult() {
10 Reset(); 12 Reset();
11 } 13 }
12 14
13 CertVerifyResult::~CertVerifyResult() { 15 CertVerifyResult::~CertVerifyResult() {
14 } 16 }
15 17
16 void CertVerifyResult::Reset() { 18 void CertVerifyResult::Reset() {
19 verified_cert = NULL;
17 cert_status = 0; 20 cert_status = 0;
18 has_md5 = false; 21 has_md5 = false;
19 has_md2 = false; 22 has_md2 = false;
20 has_md4 = false; 23 has_md4 = false;
21 has_md5_ca = false; 24 has_md5_ca = false;
22 has_md2_ca = false; 25 has_md2_ca = false;
23 is_issued_by_known_root = false; 26 is_issued_by_known_root = false;
24 public_key_hashes.clear(); 27 public_key_hashes.clear();
25 } 28 }
26 29
27 } // namespace net 30 } // namespace net
OLDNEW
« no previous file with comments | « net/base/cert_verify_result.h ('k') | net/base/x509_certificate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698