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()
|
||||
{
|
||||
ArrayList<byte[]> certs = new ArrayList<byte[]>();
|
||||
TrustedCertificateManager certman = TrustedCertificateManager.getInstance();
|
||||
TrustedCertificateManager certman = TrustedCertificateManager.getInstance().load();
|
||||
try
|
||||
{
|
||||
String alias = this.mCurrentCertificateAlias;
|
||||
|
||||
Reference in New Issue
Block a user