| Index: net/data/verify_certificate_chain_unittest/generate-non-self-signed-root.py
|
| diff --git a/net/data/verify_certificate_chain_unittest/generate-non-self-signed-root.py b/net/data/verify_certificate_chain_unittest/generate-non-self-signed-root.py
|
| index 355f61e47aa96edf59be5fc4ce7019164d469ff9..1a6417160c02e8319c0720707433795cb1c5cd25 100755
|
| --- a/net/data/verify_certificate_chain_unittest/generate-non-self-signed-root.py
|
| +++ b/net/data/verify_certificate_chain_unittest/generate-non-self-signed-root.py
|
| @@ -3,7 +3,7 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -"""Certificate chain with 1 intermediary and a trusted root. The trusted root
|
| +"""Certificate chain with 1 intermediate and a trusted root. The trusted root
|
| is NOT self signed, however its issuer is not included in the chain or root
|
| store. Verification is expected to succeed since the root is trusted."""
|
|
|
| @@ -12,15 +12,15 @@ import common
|
| shadow_root = common.create_self_signed_root_certificate('ShadowRoot')
|
|
|
| # Non-self-signed root (part of trust store).
|
| -root = common.create_intermediary_certificate('Root', shadow_root)
|
| +root = common.create_intermediate_certificate('Root', shadow_root)
|
|
|
| -# Intermediary certificate.
|
| -intermediary = common.create_intermediary_certificate('Intermediary', root)
|
| +# Intermediate certificate.
|
| +intermediate = common.create_intermediate_certificate('Intermediate', root)
|
|
|
| # Target certificate.
|
| -target = common.create_end_entity_certificate('Target', intermediary)
|
| +target = common.create_end_entity_certificate('Target', intermediate)
|
|
|
| -chain = [target, intermediary]
|
| +chain = [target, intermediate]
|
| trusted = [root]
|
| time = common.DEFAULT_TIME
|
| verify_result = True
|
|
|