| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "net/base/cert_verify_result.h" | |
| 6 | |
| 7 #include "net/base/x509_certificate.h" | |
| 8 | |
| 9 namespace net { | |
| 10 | |
| 11 CertVerifyResult::CertVerifyResult() { | |
| 12 Reset(); | |
| 13 } | |
| 14 | |
| 15 CertVerifyResult::~CertVerifyResult() { | |
| 16 } | |
| 17 | |
| 18 void CertVerifyResult::Reset() { | |
| 19 verified_cert = NULL; | |
| 20 cert_status = 0; | |
| 21 has_md5 = false; | |
| 22 has_md2 = false; | |
| 23 has_md4 = false; | |
| 24 has_md5_ca = false; | |
| 25 has_md2_ca = false; | |
| 26 is_issued_by_known_root = false; | |
| 27 is_issued_by_additional_trust_anchor = false; | |
| 28 | |
| 29 public_key_hashes.clear(); | |
| 30 } | |
| 31 | |
| 32 } // namespace net | |
| OLD | NEW |