Index: net/ssl/ssl_platform_key_win.cc |
diff --git a/net/ssl/ssl_platform_key_win.cc b/net/ssl/ssl_platform_key_win.cc |
index f54ab98f6dc2895f2ee9a3ac4652fd190d733ca8..44ec97c8609d0eacf013d75537f6daac2bd1e393 100644 |
--- a/net/ssl/ssl_platform_key_win.cc |
+++ b/net/ssl/ssl_platform_key_win.cc |
@@ -16,7 +16,6 @@ |
#include "crypto/scoped_capi_types.h" |
#include "net/base/net_errors.h" |
#include "net/cert/x509_certificate.h" |
-#include "net/ssl/ssl_platform_key.h" |
#include "net/ssl/ssl_platform_key_util.h" |
#include "net/ssl/ssl_private_key.h" |
#include "net/ssl/threaded_ssl_private_key.h" |
@@ -261,9 +260,8 @@ scoped_refptr<SSLPrivateKey> WrapCNGPrivateKey( |
} |
scoped_refptr<SSLPrivateKey> FetchClientCertPrivateKey( |
- const X509Certificate* certificate) { |
- PCCERT_CONTEXT cert_context = certificate->os_cert_handle(); |
- |
+ const X509Certificate* certificate, |
+ PCCERT_CONTEXT cert_context) { |
HCRYPTPROV_OR_NCRYPT_KEY_HANDLE prov_or_key = 0; |
DWORD key_spec = 0; |
BOOL must_free = FALSE; |