mirror of
https://github.com/silkimen/cordova-plugin-advanced-http.git
synced 2026-05-31 00:00:07 +08:00
fixed var name
This commit is contained in:
@@ -455,7 +455,7 @@ public class HttpRequest {
|
||||
// Create an SSLContext that uses our TrustManager
|
||||
SSLContext sslContext = SSLContext.getInstance("TLS");
|
||||
sslContext.init(null, tmf.getTrustManagers(), null);
|
||||
PINNED_FACTORY = new TLSSocketFactory(context);
|
||||
PINNED_FACTORY = new TLSSocketFactory(sslContext);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user