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

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

Issue 1578993003: Add Expect CT policy that gets checked on all certs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rsleevi nits Created 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ct_verify_result.h" 5 #include "net/cert/ct_verify_result.h"
6 6
7 #include "net/cert/ct_policy_status.h" 7 #include "net/cert/ct_policy_status.h"
8 8
9 namespace net { 9 namespace net {
10 10
11 namespace ct { 11 namespace ct {
12 12
13 CTVerifyResult::CTVerifyResult() 13 CTVerifyResult::CTVerifyResult()
14 : ct_policies_applied(false), 14 : ct_policies_applied(false),
15 cert_policy_compliance(
16 ct::CertPolicyCompliance::CERT_POLICY_COMPLIES_VIA_SCTS),
Eran Messeri 2016/02/24 14:35:05 Why did you choose this default value?
estark 2016/02/24 22:03:59 No reason in particular, it's just the first one i
15 ev_policy_compliance(ct::EVPolicyCompliance::EV_POLICY_DOES_NOT_APPLY) {} 17 ev_policy_compliance(ct::EVPolicyCompliance::EV_POLICY_DOES_NOT_APPLY) {}
16 18
17 CTVerifyResult::~CTVerifyResult() {} 19 CTVerifyResult::~CTVerifyResult() {}
18 20
19 } // namespace ct 21 } // namespace ct
20 22
21 } // namespace net 23 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698