| Index: net/data/verify_certificate_chain_unittest/generate-intermediate-signed-with-md5.py
|
| diff --git a/net/data/verify_certificate_chain_unittest/generate-intermediary-signed-with-md5.py b/net/data/verify_certificate_chain_unittest/generate-intermediate-signed-with-md5.py
|
| similarity index 72%
|
| rename from net/data/verify_certificate_chain_unittest/generate-intermediary-signed-with-md5.py
|
| rename to net/data/verify_certificate_chain_unittest/generate-intermediate-signed-with-md5.py
|
| index 8a59e6516d8d3038fef8a118614122ecc2405fe3..5dec9d1a742f7005c08ed82dc2edb51c56a44c6f 100755
|
| --- a/net/data/verify_certificate_chain_unittest/generate-intermediary-signed-with-md5.py
|
| +++ b/net/data/verify_certificate_chain_unittest/generate-intermediate-signed-with-md5.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 intermediary
|
| +"""Certificate chain with 1 intermediate and a trusted root. The intermediate
|
| however is signed using the MD5 hash. Verification is expected to fail because
|
| MD5 is too weak."""
|
|
|
| @@ -12,14 +12,14 @@ import common
|
| # Self-signed root certificate (part of trust store).
|
| root = common.create_self_signed_root_certificate('Root')
|
|
|
| -# Intermediary.
|
| -intermediary = common.create_intermediary_certificate('Intermediary', root)
|
| -intermediary.set_signature_hash('md5')
|
| +# Intermediate.
|
| +intermediate = common.create_intermediate_certificate('Intermediate', root)
|
| +intermediate.set_signature_hash('md5')
|
|
|
| # 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 = False
|
|
|