| 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 558e98cf8e813b72fcc57256fada20f18ab895ce..abe6809125b8d0bcdcb7fa934a57d9ed2cde5ccf 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
|
| @@ -9,7 +9,7 @@ expected to fail, since pathlen should only be set for CAs."""
|
|
|
| import common
|
|
|
| -# Self-signed root certificate (part of trust store).
|
| +# Self-signed root certificate (used as trust anchor).
|
| root = common.create_self_signed_root_certificate('Root')
|
|
|
| # Intermediate certificate.
|
| @@ -22,7 +22,7 @@ target.get_extensions().set_property('basicConstraints',
|
|
|
|
|
| chain = [target, intermediate]
|
| -trusted = [root]
|
| +trusted = common.TrustAnchor(root, constrained=False)
|
| time = common.DEFAULT_TIME
|
| verify_result = False
|
|
|
|
|