| Index: net/ssl/client_cert_store_win.cc
|
| diff --git a/net/ssl/client_cert_store_win.cc b/net/ssl/client_cert_store_win.cc
|
| index 2e9763ffdb269b77ac58c18735ece8f04ceb053f..4bba66857affe4177689090fd9eccafa014234d3 100644
|
| --- a/net/ssl/client_cert_store_win.cc
|
| +++ b/net/ssl/client_cert_store_win.cc
|
| @@ -129,6 +129,11 @@ void GetClientCertsImpl(HCERTSTORE cert_store,
|
| if (ok)
|
| intermediates.push_back(copied_intermediate);
|
| }
|
| + // TODO(svaldez): cert currently wraps cert_context2 which may be backed
|
| + // by a smartcard with threading difficulties. Instead, create a fresh
|
| + // X509Certificate with CreateFromBytes and route cert_context2 into the
|
| + // SSLPrivateKey. Probably changing CertificateList to be a
|
| + // pair<X509Certificate, SSLPrivateKeyCallback>.
|
| scoped_refptr<X509Certificate> cert = X509Certificate::CreateFromHandle(
|
| cert_context2, intermediates);
|
| selected_certs->push_back(cert);
|
|
|