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

Unified Diff: net/cert/cert_verify_proc_builtin.cc

Issue 2832703002: Allow the TrustStore interface to return matching intermediates, and identify distrusted certs. (Closed)
Patch Set: mac fix Created 3 years, 8 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/cert/cert_verify_proc_builtin.cc
diff --git a/net/cert/cert_verify_proc_builtin.cc b/net/cert/cert_verify_proc_builtin.cc
index ee85d5e0aedc82e63ee423ae6b3a253ee606b28c..36d5ff0f1818d83dd3ea7e88480873b667fc1b14 100644
--- a/net/cert/cert_verify_proc_builtin.cc
+++ b/net/cert/cert_verify_proc_builtin.cc
@@ -236,10 +236,6 @@ void DoVerify(X509Certificate* input_cert,
&signature_policy, verification_time,
KeyPurpose::SERVER_AUTH, &result);
- // Allow the path builder to discover intermediates from the trust store.
- if (ssl_trust_store->GetCertIssuerSource())
- path_builder.AddCertIssuerSource(ssl_trust_store->GetCertIssuerSource());
-
// Allow the path builder to discover the explicitly provided intermediates in
// |input_cert|.
CertIssuerSourceStatic intermediates;

Powered by Google App Engine
This is Rietveld 408576698