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

Unified Diff: net/cert/internal/nist_pkits_unittest.h

Issue 2903283002: Add policies support to VerifyCertificateChain(). (Closed)
Patch Set: improve comments, and null policy tree when anyPolicy is incorrectly mapped Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/cert/internal/nist_pkits_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/nist_pkits_unittest.h
diff --git a/net/cert/internal/nist_pkits_unittest.h b/net/cert/internal/nist_pkits_unittest.h
index adc064b63267071603253448a94048f9f1c93dfa..8f9ef42c166f7d1a633cffdfdfbc7423d6e8b480 100644
--- a/net/cert/internal/nist_pkits_unittest.h
+++ b/net/cert/internal/nist_pkits_unittest.h
@@ -46,13 +46,15 @@ struct PkitsTestInfo {
std::set<der::Input> initial_policy_set;
// The value of "initial-explicit-policy".
- bool initial_explicit_policy = false;
+ InitialExplicitPolicy initial_explicit_policy = InitialExplicitPolicy::kFalse;
// The value of "initial-policy-mapping-inhibit".
- bool initial_policy_mapping_inhibit = false;
+ InitialPolicyMappingInhibit initial_policy_mapping_inhibit =
+ InitialPolicyMappingInhibit::kFalse;
// The value of "initial-inhibit-any-policy".
- bool initial_inhibit_any_policy = false;
+ InitialAnyPolicyInhibit initial_inhibit_any_policy =
+ InitialAnyPolicyInhibit::kFalse;
// This is the time when PKITS was published.
der::GeneralizedTime time = {2011, 4, 15, 0, 0, 0};
« no previous file with comments | « no previous file | net/cert/internal/nist_pkits_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698