summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-02-27 18:01:27 -0800
committerBrian Carlstrom <bdc@google.com>2013-02-27 18:01:27 -0800
commitb16dd02e53d57f3d712f1da6d3ded0df1509b78d (patch)
tree1e33804c56a82cefe4dd183884e0019d7f1b02ab
parente6057f8fac4f62027696d0be56dd77cbe8d7b00d (diff)
downloadwebkit-b16dd02e53d57f3d712f1da6d3ded0df1509b78d.tar.gz
Tracking libcore change to use longs instead of ints to store pointers in OpenSSL binding
Change-Id: I819170e26536bdf8f37fda4986506b029be5ebd3
-rw-r--r--Source/WebKit/android/jni/WebCoreFrameBridge.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/android/jni/WebCoreFrameBridge.cpp b/Source/WebKit/android/jni/WebCoreFrameBridge.cpp
index 9df4dbdc4..4a9f21dff 100644
--- a/Source/WebKit/android/jni/WebCoreFrameBridge.cpp
+++ b/Source/WebKit/android/jni/WebCoreFrameBridge.cpp
@@ -1904,7 +1904,7 @@ static void SslClientCertPKCS8(JNIEnv *env, jobject obj, int handle, jbyteArray
client->sslClientCert(privateKey.release(), certificate);
}
-static void SslClientCertCtx(JNIEnv *env, jobject obj, int handle, jint ctx, jobjectArray chain)
+static void SslClientCertCtx(JNIEnv *env, jobject obj, int handle, jlong ctx, jobjectArray chain)
{
WebUrlLoaderClient* client = reinterpret_cast<WebUrlLoaderClient*>(handle);
EVP_PKEY* pkey = reinterpret_cast<EVP_PKEY*>(static_cast<uintptr_t>(ctx));
@@ -1979,7 +1979,7 @@ static JNINativeMethod gBrowserFrameNativeMethods[] = {
(void*) SslCertErrorProceed },
{ "nativeSslCertErrorCancel", "(II)V",
(void*) SslCertErrorCancel },
- { "nativeSslClientCert", "(II[[B)V",
+ { "nativeSslClientCert", "(IJ[[B)V",
(void*) SslClientCertCtx },
{ "nativeSslClientCert", "(I[B[[B)V",
(void*) SslClientCertPKCS8 },