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

Unified Diff: net/data/verify_certificate_chain_unittest/generate-violates-pathlen-1-constrained-root.py

Issue 2282183004: Add error information to VerifyCertificateChain(). (Closed)
Patch Set: fix typo in README Created 4 years, 4 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/data/verify_certificate_chain_unittest/generate-violates-pathlen-1-constrained-root.py
diff --git a/net/data/verify_certificate_chain_unittest/generate-violates-pathlen-1-constrained-root.py b/net/data/verify_certificate_chain_unittest/generate-violates-pathlen-1-constrained-root.py
index 8a2f658025b2aa0953104a358f742ffb9d0bbe5d..888d5ccaef8ace36ba833a54a23ef6fc54767644 100755
--- a/net/data/verify_certificate_chain_unittest/generate-violates-pathlen-1-constrained-root.py
+++ b/net/data/verify_certificate_chain_unittest/generate-violates-pathlen-1-constrained-root.py
@@ -28,5 +28,6 @@ chain = [target, intermediate2, intermediate1]
trusted = common.TrustAnchor(root, constrained=True)
time = common.DEFAULT_TIME
verify_result = False
+errors = ['max_path_length reached']
-common.write_test_file(__doc__, chain, trusted, time, verify_result)
+common.write_test_file(__doc__, chain, trusted, time, verify_result, errors)

Powered by Google App Engine
This is Rietveld 408576698