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

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

Issue 2903283002: Add policies support to VerifyCertificateChain(). (Closed)
Patch Set: 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
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..dd1059fe6ea5e09809b8b4faaed61e344a4fbaea 100644
--- a/net/cert/internal/test_helpers.h
+++ b/net/cert/internal/test_helpers.h
@@ -95,6 +95,11 @@ struct VerifyCertChainTest {
// The Key Purpose to use when verifying the chain.
KeyPurpose key_purpose = KeyPurpose::ANY_EKU;
+ bool initial_explicit_policy = false;
+ std::set<der::Input> user_initial_policy_set;
+ bool initial_policy_mapping_inhibit = false;
+ bool initial_any_policy_inhibit = false;
+
// The expected errors/warnings from verification (as a string).
std::string expected_errors;

Powered by Google App Engine
This is Rietveld 408576698