Merge "Tracking libcore change to use longs instead of ints to store pointers in OpenSSL binding"
This commit is contained in:
@ -1324,7 +1324,7 @@ class BrowserFrame extends Handler {
|
|||||||
private native void nativeSslCertErrorCancel(int handle, int certError);
|
private native void nativeSslCertErrorCancel(int handle, int certError);
|
||||||
|
|
||||||
native void nativeSslClientCert(int handle,
|
native void nativeSslClientCert(int handle,
|
||||||
int ctx,
|
long ctx,
|
||||||
byte[][] asn1DerEncodedCertificateChain);
|
byte[][] asn1DerEncodedCertificateChain);
|
||||||
|
|
||||||
native void nativeSslClientCert(int handle,
|
native void nativeSslClientCert(int handle,
|
||||||
|
@ -75,7 +75,7 @@ public final class ClientCertRequestHandler extends Handler {
|
|||||||
/**
|
/**
|
||||||
* Proceed with the specified private key bytes and client certificate chain.
|
* Proceed with the specified private key bytes and client certificate chain.
|
||||||
*/
|
*/
|
||||||
private void setSslClientCertFromCtx(final int ctx, final byte[][] chainBytes) {
|
private void setSslClientCertFromCtx(final long ctx, final byte[][] chainBytes) {
|
||||||
post(new Runnable() {
|
post(new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
mBrowserFrame.nativeSslClientCert(mHandle, ctx, chainBytes);
|
mBrowserFrame.nativeSslClientCert(mHandle, ctx, chainBytes);
|
||||||
|
Reference in New Issue
Block a user