Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1677)

Unified Diff: net/tools/cert_verify_tool/verify_using_path_builder.cc

Issue 2898303005: Wire up certificate policies support in PathBuilder. (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/tools/cert_verify_tool/verify_using_path_builder.cc
diff --git a/net/tools/cert_verify_tool/verify_using_path_builder.cc b/net/tools/cert_verify_tool/verify_using_path_builder.cc
index 2426f61c1e5914425b1dc7e32b57e04186b0edfd..7a85816ff37d1602ebc117f3b4cc0587fae6c543 100644
--- a/net/tools/cert_verify_tool/verify_using_path_builder.cc
+++ b/net/tools/cert_verify_tool/verify_using_path_builder.cc
@@ -210,7 +210,9 @@ bool VerifyUsingPathBuilder(
net::CertPathBuilder::Result result;
net::CertPathBuilder path_builder(
target_cert, ssl_trust_store->GetTrustStore(), &signature_policy, time,
- net::KeyPurpose::SERVER_AUTH, &result);
+ net::KeyPurpose::SERVER_AUTH, net::InitialExplicitPolicy::kFalse,
+ {net::AnyPolicy()}, net::InitialPolicyMappingInhibit::kFalse,
+ net::InitialAnyPolicyInhibit::kFalse, &result);
path_builder.AddCertIssuerSource(&intermediate_cert_issuer_source);
// Create a network thread to be used for AIA fetches, and wait for a

Powered by Google App Engine
This is Rietveld 408576698