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

Unified Diff: net/base/single_request_cert_verifier.cc

Issue 9584041: Create stubs for system certificate validation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move system stubs into patch 4 for svn history preservation Created 8 years, 9 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
« no previous file with comments | « net/base/multi_threaded_cert_verifier_unittest.cc ('k') | net/base/transport_security_state_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/single_request_cert_verifier.cc
diff --git a/net/base/single_request_cert_verifier.cc b/net/base/single_request_cert_verifier.cc
index 337060047d0186e925ed3ddd909d3738c3fdd343..1777945b1ae593c43d1aabdf762ef2a7464ca7f3 100644
--- a/net/base/single_request_cert_verifier.cc
+++ b/net/base/single_request_cert_verifier.cc
@@ -35,10 +35,6 @@ int SingleRequestCertVerifier::Verify(X509Certificate* cert,
// Should not be already in use.
DCHECK(!cur_request_ && cur_request_callback_.is_null());
- // Do a synchronous verification.
- if (callback.is_null())
- return cert->Verify(hostname, flags, crl_set, verify_result);
-
CertVerifier::RequestHandle request = NULL;
// We need to be notified of completion before |callback| is called, so that
« no previous file with comments | « net/base/multi_threaded_cert_verifier_unittest.cc ('k') | net/base/transport_security_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698