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

Unified Diff: net/data/verify_certificate_chain_unittest/generate-expired-target-notBefore.py

Issue 2759023002: Improvements to the net/cert/internal error handling. (Closed)
Patch Set: fix comment 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-expired-target-notBefore.py
diff --git a/net/data/verify_certificate_chain_unittest/generate-expired-target-notBefore.py b/net/data/verify_certificate_chain_unittest/generate-expired-target-notBefore.py
index da5d0718e57b9260b7e74352225179cbc71f170d..2d077c8be27e9fe5c3c1498fd92fa72e50c18860 100755
--- a/net/data/verify_certificate_chain_unittest/generate-expired-target-notBefore.py
+++ b/net/data/verify_certificate_chain_unittest/generate-expired-target-notBefore.py
@@ -28,9 +28,9 @@ trusted = common.TrustAnchor(root, constrained=False)
# target is not.
time = common.MARCH_1_2015_UTC
verify_result = False
-errors = """[Context] Processing Certificate
- index: 1
- [Error] Time is before notBefore
+errors = """----- Certificate i=0 (CN=Target) -----
+ERROR: Time is before notBefore
+
"""
common.write_test_file(__doc__, chain, trusted, time, verify_result, errors)

Powered by Google App Engine
This is Rietveld 408576698