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

Unified Diff: net/third_party/nist-pkits/generate_tests.py

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
Index: net/third_party/nist-pkits/generate_tests.py
diff --git a/net/third_party/nist-pkits/generate_tests.py b/net/third_party/nist-pkits/generate_tests.py
index 04afc6f81a6118df326f6ae3a6d7c345a3f68adc..8083d62a390f05e2722cd1a099f561166118f98c 100644
--- a/net/third_party/nist-pkits/generate_tests.py
+++ b/net/third_party/nist-pkits/generate_tests.py
@@ -688,6 +688,17 @@ TEST_OVERRIDES = {
user_constrained_policy_set=[]),
],
+ '4.10.7': [ # Invalid Mapping From anyPolicy Test7
+ # Procedure: Validate Invalid Mapping From anyPolicy Test7 EE using the
+ # default settings or open and verify Signed Test Message 6.2.2.100 using
+ # the default settings.
+ #
+ # Expected Result: The path should not validate successfully since the
+ # intermediate certificate includes a policy mapping extension in which
+ # anyPolicy appears as an issuerDomainPolicy.
+ TestInfo(False, user_constrained_policy_set=[]),
+ ],
+
'4.10.8': [ # Invalid Mapping To anyPolicy Test8
# Procedure: Validate Invalid Mapping To anyPolicy Test8 EE using the
# default settings or open and verify Signed Test Message 6.2.2.101 using
@@ -696,8 +707,6 @@ TEST_OVERRIDES = {
# Expected Result: The path should not validate successfully since the
# intermediate certificate includes a policy mapping extension in which
# anyPolicy appears as an subjectDomainPolicy.
- #
- # TODO(eroman): What should user_constrained_policy_set be?
TestInfo(False, user_constrained_policy_set=[]),
],
« no previous file with comments | « net/cert/internal/verify_certificate_chain_unittest.cc ('k') | net/third_party/nist-pkits/pkits_testcases-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698