android: Fix import of certificate request flag
This commit is contained in:
parent
a706058118
commit
81bace09a4
|
@ -470,7 +470,7 @@ public class VpnProfileImportActivity extends AppCompatActivity
|
|||
profile.setRemoteId(remote.optString("id", null));
|
||||
profile.Certificate = decodeBase64(remote.optString("cert", null));
|
||||
|
||||
if (remote.optBoolean("certreq", false))
|
||||
if (!remote.optBoolean("certreq", true))
|
||||
{
|
||||
flags |= VpnProfile.FLAGS_SUPPRESS_CERT_REQS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue