Index: net/android/keystore_openssl.h |
diff --git a/net/android/keystore_openssl.h b/net/android/keystore_openssl.h |
index ceb900c4be66f1a62ccdfb1e8a80c1793da13d84..2de4e0a8125fb3a5a8a0563f2093f2e66fb14ac8 100644 |
--- a/net/android/keystore_openssl.h |
+++ b/net/android/keystore_openssl.h |
@@ -8,6 +8,7 @@ |
#include <jni.h> |
#include <openssl/evp.h> |
+#include "crypto/scoped_openssl_types.h" |
#include "net/base/net_export.h" |
// OpenSSL-specific functions to use the Android platform keystore. |
@@ -40,7 +41,8 @@ namespace android { |
// *sign* the digest that is part of the "Verify Certificate" message |
// during the OpenSSL handshake. Anything else will result in undefined |
// behaviour. |
-NET_EXPORT EVP_PKEY* GetOpenSSLPrivateKeyWrapper(jobject private_key); |
+NET_EXPORT crypto::ScopedEVP_PKEY GetOpenSSLPrivateKeyWrapper( |
+ jobject private_key); |
} // namespace android |
} // namespace net |