| Index: content/browser/ssl/ssl_client_auth_handler.cc
|
| diff --git a/content/browser/ssl/ssl_client_auth_handler.cc b/content/browser/ssl/ssl_client_auth_handler.cc
|
| index d0bc275d5cb04ef38bad8136c48e63d5410faad9..e5d01811fe245ce995da114678dba55b6cd328b1 100644
|
| --- a/content/browser/ssl/ssl_client_auth_handler.cc
|
| +++ b/content/browser/ssl/ssl_client_auth_handler.cc
|
| @@ -39,13 +39,14 @@ class ClientCertificateDelegateImpl : public ClientCertificateDelegate {
|
| }
|
|
|
| // ClientCertificateDelegate implementation:
|
| - void ContinueWithCertificate(net::X509Certificate* cert) override {
|
| + void ContinueWithCertificate(net::X509Certificate* cert,
|
| + net::SSLPrivateKey* private_key) override {
|
| DCHECK(!continue_called_);
|
| continue_called_ = true;
|
| BrowserThread::PostTask(
|
| BrowserThread::IO, FROM_HERE,
|
| base::Bind(&SSLClientAuthHandler::ContinueWithCertificate, handler_,
|
| - make_scoped_refptr(cert)));
|
| + make_scoped_refptr(cert), make_scoped_refptr(private_key)));
|
| }
|
|
|
| private:
|
| @@ -148,9 +149,10 @@ void SSLClientAuthHandler::SelectCertificate() {
|
| // static
|
| void SSLClientAuthHandler::ContinueWithCertificate(
|
| const base::WeakPtr<SSLClientAuthHandler>& handler,
|
| - net::X509Certificate* cert) {
|
| + net::X509Certificate* cert,
|
| + net::SSLPrivateKey* private_key) {
|
| if (handler)
|
| - handler->delegate_->ContinueWithCertificate(cert);
|
| + handler->delegate_->ContinueWithCertificate(cert, private_key);
|
| }
|
|
|
| // static
|
| @@ -179,7 +181,8 @@ void SSLClientAuthHandler::DidGetClientCerts() {
|
| BrowserThread::IO, FROM_HERE,
|
| base::Bind(&SSLClientAuthHandler::ContinueWithCertificate,
|
| weak_factory_.GetWeakPtr(),
|
| - scoped_refptr<net::X509Certificate>()));
|
| + scoped_refptr<net::X509Certificate>(),
|
| + scoped_refptr<net::SSLPrivateKey>()));
|
| return;
|
| }
|
|
|
|
|