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

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

Issue 2759023002: Improvements to the net/cert/internal error handling. (Closed)
Patch Set: Created 3 years, 9 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 d35ce7bf263860483ae1165728c3e86eaf12379c..6b72dbe0360d5b8c98d9bf1fc08a3d6b4317d21c 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,9 +25,9 @@ chain = [target, intermediate]
trusted = common.TrustAnchor(root, constrained=False)
time = common.DEFAULT_TIME
verify_result = False
-errors = """[Context] Processing Certificate
- index: 1
- [Error] Target certificate looks like a CA but does not set all CA properties
+errors = """----- Certificate i=0 (CN=target) -----
+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