Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / net / cert / cert_verify_result.cc
blobb2413e6755d6a8aca4f0b3b095c3989fa69de724
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.
5 #include "net/cert/cert_verify_result.h"
7 #include "net/cert/x509_certificate.h"
9 namespace net {
11 CertVerifyResult::CertVerifyResult() {
12 Reset();
15 CertVerifyResult::~CertVerifyResult() {
18 void CertVerifyResult::Reset() {
19 verified_cert = NULL;
20 cert_status = 0;
21 has_md2 = false;
22 has_md4 = false;
23 has_md5 = false;
24 has_sha1 = false;
25 is_issued_by_known_root = false;
26 is_issued_by_additional_trust_anchor = false;
27 common_name_fallback_used = false;
29 public_key_hashes.clear();
32 } // namespace net