| 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 d7f308c699863046ec68bd22725cf39606dc8f4b..c8b750196ad415807a9c960ff4c89151e79a1256 100644
|
| --- a/net/ssl/client_cert_store_win.cc
|
| +++ b/net/ssl/client_cert_store_win.cc
|
| @@ -128,6 +128,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);
|
|
|