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

Unified Diff: net/socket/ssl_client_socket_impl.cc

Issue 1994353002: Update CertVerifier::Verify to use RequestParams instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@request_params
Patch Set: Rebased Created 4 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/socket/ssl_client_socket_impl.cc
diff --git a/net/socket/ssl_client_socket_impl.cc b/net/socket/ssl_client_socket_impl.cc
index 80ff994982f2d3e804266d8623bae1dd2e90b0d4..c24763f53deed422442a18a4ea24e5ac0a734e5b 100644
--- a/net/socket/ssl_client_socket_impl.cc
+++ b/net/socket/ssl_client_socket_impl.cc
@@ -1324,8 +1324,9 @@ int SSLClientSocketImpl::DoVerifyCert(int result) {
start_cert_verification_time_ = base::TimeTicks::Now();
return cert_verifier_->Verify(
- server_cert_.get(), host_and_port_.host(), ocsp_response,
- ssl_config_.GetCertVerifyFlags(),
+ CertVerifier::RequestParams(server_cert_, host_and_port_.host(),
+ ssl_config_.GetCertVerifyFlags(),
+ ocsp_response, CertificateList()),
// TODO(davidben): Route the CRLSet through SSLConfig so
// SSLClientSocket doesn't depend on SSLConfigService.
SSLConfigService::GetCRLSet().get(), &server_cert_verify_result_,

Powered by Google App Engine
This is Rietveld 408576698