Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 #include "net/base/x509_certificate.h" | |
|
wtc
2011/07/26 19:32:29
The blank line to separate the primary header from
| |
| 6 | 7 |
| 7 namespace net { | 8 namespace net { |
| 8 | 9 |
| 9 CertVerifyResult::CertVerifyResult() { | 10 CertVerifyResult::CertVerifyResult() { |
| 10 Reset(); | 11 Reset(); |
| 11 } | 12 } |
| 12 | 13 |
| 13 CertVerifyResult::~CertVerifyResult() { | 14 CertVerifyResult::~CertVerifyResult() { |
| 14 } | 15 } |
| 15 | 16 |
| 16 void CertVerifyResult::Reset() { | 17 void CertVerifyResult::Reset() { |
| 18 verified_cert = NULL; | |
| 17 cert_status = 0; | 19 cert_status = 0; |
| 18 has_md5 = false; | 20 has_md5 = false; |
| 19 has_md2 = false; | 21 has_md2 = false; |
| 20 has_md4 = false; | 22 has_md4 = false; |
| 21 has_md5_ca = false; | 23 has_md5_ca = false; |
| 22 has_md2_ca = false; | 24 has_md2_ca = false; |
| 23 is_issued_by_known_root = false; | 25 is_issued_by_known_root = false; |
| 24 public_key_hashes.clear(); | 26 public_key_hashes.clear(); |
| 25 } | 27 } |
| 26 | 28 |
| 27 } // namespace net | 29 } // namespace net |
| OLD | NEW |