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 abe6809125b8d0bcdcb7fa934a57d9ed2cde5ccf..bec83fd465b80dc8e9cbb4cd36c23d02abdc9e07 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,5 +25,8 @@ 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'] |
-common.write_test_file(__doc__, chain, trusted, time, verify_result) |
+common.write_test_file(__doc__, chain, trusted, time, verify_result, |
+ errors) |