Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1458)

Unified Diff: net/android/keystore_openssl.h

Issue 553223002: Use ScopedEVP_PKEY in keystore_openssl.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/android/keystore_openssl.cc » ('j') | net/android/keystore_openssl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | net/android/keystore_openssl.cc » ('j') | net/android/keystore_openssl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698