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

Unified Diff: net/data/verify_certificate_chain_unittest/generate-target-has-pathlen-but-not-ca.py

Issue 2329593002: Add optional context for certificate errors. (Closed)
Patch Set: Address Matt's comments Created 4 years, 3 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-target-has-pathlen-but-not-ca.py
diff --git a/net/data/verify_certificate_chain_unittest/generate-target-has-pathlen-but-not-ca.py b/net/data/verify_certificate_chain_unittest/generate-target-has-pathlen-but-not-ca.py
index 1e5f65469b20650974c302c7368bf64473440be6..d35ce7bf263860483ae1165728c3e86eaf12379c 100755
--- a/net/data/verify_certificate_chain_unittest/generate-target-has-pathlen-but-not-ca.py
+++ b/net/data/verify_certificate_chain_unittest/generate-target-has-pathlen-but-not-ca.py
@@ -25,6 +25,9 @@ chain = [target, intermediate]
trusted = common.TrustAnchor(root, constrained=False)
time = common.DEFAULT_TIME
verify_result = False
-errors = """Target certificate looks like a CA but does not set all CA properties"""
+errors = """[Context] Processing Certificate
+ index: 1
+ [Error] Target certificate looks like a CA but does not set all CA properties
+"""
common.write_test_file(__doc__, chain, trusted, time, verify_result, errors)

Powered by Google App Engine
This is Rietveld 408576698