From 841eba827134eb09bb647731981fb9fe776bec8e Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 15 Oct 2021 03:20:41 +0200 Subject: Remove duplicate and overzealous check for CA certificate --- main/src/main/java/de/blinkt/openvpn/VpnProfile.java | 5 ----- main/src/main/res/values/strings.xml | 1 - 2 files changed, 6 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) diff --git a/main/src/main/res/values/strings.xml b/main/src/main/res/values/strings.xml index 6dc900a9..70cca720 100755 --- a/main/src/main/res/values/strings.xml +++ b/main/src/main/res/values/strings.xml @@ -402,7 +402,6 @@ Export configuration file tls-auth file is missing Missing user certificate or user certifcate key file - Missing CA certificate Certifcate Revoke List (optional) Reread (%d) log items from log cache file Even though Samsung phones are among the most selling Android phones, Samsung\'s firmware are also among the most buggy Android firmwares. The bugs are not limited to the VPN operation on these devices but many of them can be workarounded. In the following some of these bugs are described.\n\nDNS does not work unless the DNS server in the VPN range.\n\nOn many Samsung 5.x devices the allowed/disallowed apps feature does not work.\nOn Samsung 6.x VPN is reported not to work unless the VPN app is exempted from Powersave features. -- cgit v1.2.3