summaryrefslogtreecommitdiff
path: root/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2021-10-15 03:20:41 +0200
committerArne Schwabe <arne@rfc2549.org>2021-10-15 03:20:41 +0200
commit841eba827134eb09bb647731981fb9fe776bec8e (patch)
treef8e1c3ae16a4b3c99eda7e57e60682f6ab5e1ca7 /main/src/main/java/de/blinkt/openvpn/VpnProfile.java
parent0afe63e093dfb82cebd7253ffd45a3c1c64d211c (diff)
Remove duplicate and overzealous check for CA certificate
Diffstat (limited to 'main/src/main/java/de/blinkt/openvpn/VpnProfile.java')
-rw-r--r--main/src/main/java/de/blinkt/openvpn/VpnProfile.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
index fd30ea5a..d13ac7fa 100644
--- a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
+++ b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
@@ -1027,11 +1027,6 @@ public class VpnProfile implements Serializable, Cloneable {
&& (TextUtils.isEmpty(mClientCertFilename) || TextUtils.isEmpty(mClientKeyFilename)))
return R.string.missing_certificates;
- if ((mAuthenticationType == TYPE_CERTIFICATES || mAuthenticationType == TYPE_USERPASS_CERTIFICATES)
- && TextUtils.isEmpty(mCaFilename))
- return R.string.missing_ca_certificate;
-
-
boolean noRemoteEnabled = true;
for (Connection c : mConnections) {
if (c.mEnabled)