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

Unified Diff: net/cert/internal/test_helpers.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 | « net/cert/internal/path_builder.cc ('k') | net/cert/internal/test_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/test_helpers.h
diff --git a/net/cert/internal/test_helpers.h b/net/cert/internal/test_helpers.h
index dceb06821571d5c6c7a48861cfbe0db0645ad3dc..d8b1c6992cc70b18fadb9ebb545dedd0b7d0ea60 100644
--- a/net/cert/internal/test_helpers.h
+++ b/net/cert/internal/test_helpers.h
@@ -95,6 +95,16 @@ struct VerifyCertChainTest {
// The Key Purpose to use when verifying the chain.
KeyPurpose key_purpose = KeyPurpose::ANY_EKU;
+ InitialExplicitPolicy initial_explicit_policy = InitialExplicitPolicy::kFalse;
+
+ std::set<der::Input> user_initial_policy_set;
+
+ InitialPolicyMappingInhibit initial_policy_mapping_inhibit =
+ InitialPolicyMappingInhibit::kFalse;
+
+ InitialAnyPolicyInhibit initial_any_policy_inhibit =
+ InitialAnyPolicyInhibit::kFalse;
+
// The expected errors/warnings from verification (as a string).
std::string expected_errors;
« no previous file with comments | « net/cert/internal/path_builder.cc ('k') | net/cert/internal/test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698