| Index: net/cert/internal/path_builder.cc
|
| diff --git a/net/cert/internal/path_builder.cc b/net/cert/internal/path_builder.cc
|
| index d1ce0bdbe5db7f8e70425ccf4540aac38b8f9575..57367160f8885e6288683ebf7f9b654d664739f7 100644
|
| --- a/net/cert/internal/path_builder.cc
|
| +++ b/net/cert/internal/path_builder.cc
|
| @@ -604,9 +604,18 @@ void CertPathBuilder::DoGetNextPathComplete() {
|
|
|
| // Verify the entire certificate chain.
|
| auto result_path = base::MakeUnique<ResultPath>();
|
| +
|
| + // TODO(eroman): Make these inputs parameters to the path builder.
|
| + const bool initial_explicit_policy = false;
|
| + const std::set<der::Input> user_initial_policy_set{AnyPolicy()};
|
| + const bool initial_policy_mapping_inhibit = false;
|
| + const bool initial_any_policy_inhibit = false;
|
| +
|
| VerifyCertificateChain(next_path_.certs, next_path_.last_cert_trust,
|
| signature_policy_, time_, key_purpose_,
|
| - &result_path->errors);
|
| + initial_explicit_policy, user_initial_policy_set,
|
| + initial_policy_mapping_inhibit,
|
| + initial_any_policy_inhibit, &result_path->errors);
|
| bool verify_result = !result_path->errors.ContainsHighSeverityErrors();
|
|
|
| DVLOG(1) << "CertPathBuilder VerifyCertificateChain result = "
|
|
|