| Index: net/cert/internal/path_builder_verify_certificate_chain_unittest.cc
|
| diff --git a/net/cert/internal/path_builder_verify_certificate_chain_unittest.cc b/net/cert/internal/path_builder_verify_certificate_chain_unittest.cc
|
| index e08ea30895beff8e049380a3b49727176ff180d5..dc9a07eca5636032c3334296577d2591b6e08d0b 100644
|
| --- a/net/cert/internal/path_builder_verify_certificate_chain_unittest.cc
|
| +++ b/net/cert/internal/path_builder_verify_certificate_chain_unittest.cc
|
| @@ -16,15 +16,15 @@ namespace {
|
| class PathBuilderDelegate {
|
| public:
|
| static void Verify(const ParsedCertificateList& chain,
|
| - const ParsedCertificateList& roots,
|
| + const TrustAnchors& anchors,
|
| const der::GeneralizedTime& time,
|
| bool expected_result) {
|
| SimpleSignaturePolicy signature_policy(1024);
|
| ASSERT_FALSE(chain.empty());
|
|
|
| TrustStore trust_store;
|
| - for (const auto& root : roots)
|
| - trust_store.AddTrustedCertificate(root);
|
| + for (const auto& anchor : anchors)
|
| + trust_store.AddTrustAnchor(anchor);
|
|
|
| CertIssuerSourceStatic intermediate_cert_issuer_source;
|
| for (size_t i = 1; i < chain.size(); ++i)
|
|
|