android: Ensure that the certificates are loaded when accessing them via JNI
This commit is contained in:
+1
-1
@@ -542,7 +542,7 @@ public class CharonVpnService extends VpnService implements Runnable, VpnStateSe
|
|||||||
private byte[][] getTrustedCertificates()
|
private byte[][] getTrustedCertificates()
|
||||||
{
|
{
|
||||||
ArrayList<byte[]> certs = new ArrayList<byte[]>();
|
ArrayList<byte[]> certs = new ArrayList<byte[]>();
|
||||||
TrustedCertificateManager certman = TrustedCertificateManager.getInstance();
|
TrustedCertificateManager certman = TrustedCertificateManager.getInstance().load();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
String alias = this.mCurrentCertificateAlias;
|
String alias = this.mCurrentCertificateAlias;
|
||||||
|
|||||||
Reference in New Issue
Block a user