| Index: chrome/browser/ui/android/ssl_client_certificate_request.cc
|
| diff --git a/chrome/browser/ui/android/ssl_client_certificate_request.cc b/chrome/browser/ui/android/ssl_client_certificate_request.cc
|
| index 51d0549aa28e374f6f2658f649d067523618bc8f..ac9616a156e3640efe7123d4e53be2d2295ea1da 100644
|
| --- a/chrome/browser/ui/android/ssl_client_certificate_request.cc
|
| +++ b/chrome/browser/ui/android/ssl_client_certificate_request.cc
|
| @@ -15,6 +15,7 @@
|
| #include "chrome/browser/ssl/ssl_client_certificate_selector.h"
|
| #include "chrome/browser/ui/android/window_android_helper.h"
|
| #include "content/public/browser/browser_thread.h"
|
| +#include "crypto/scoped_openssl_types.h"
|
| #include "jni/SSLClientCertificateRequest_jni.h"
|
| #include "net/android/keystore_openssl.h"
|
| #include "net/base/host_port_pair.h"
|
| @@ -30,13 +31,11 @@ namespace chrome {
|
|
|
| namespace {
|
|
|
| -typedef net::OpenSSLClientKeyStore::ScopedEVP_PKEY ScopedEVP_PKEY;
|
| -
|
| // Must be called on the I/O thread to record a client certificate
|
| // and its private key in the OpenSSLClientKeyStore.
|
| void RecordClientCertificateKey(
|
| const scoped_refptr<net::X509Certificate>& client_cert,
|
| - ScopedEVP_PKEY private_key) {
|
| + crypto::ScopedEVP_PKEY private_key) {
|
| DCHECK_CURRENTLY_ON(content::BrowserThread::IO);
|
| net::OpenSSLClientKeyStore::GetInstance()->RecordClientCertPrivateKey(
|
| client_cert.get(), private_key.get());
|
| @@ -184,7 +183,7 @@ static void OnSystemRequestCompletion(
|
| }
|
|
|
| // Create an EVP_PKEY wrapper for the private key JNI reference.
|
| - ScopedEVP_PKEY private_key(
|
| + crypto::ScopedEVP_PKEY private_key(
|
| net::android::GetOpenSSLPrivateKeyWrapper(private_key_ref));
|
| if (!private_key.get()) {
|
| LOG(ERROR) << "Could not create OpenSSL wrapper for private key";
|
|
|