summaryrefslogtreecommitdiff
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
parent0afe63e093dfb82cebd7253ffd45a3c1c64d211c (diff)
Remove duplicate and overzealous check for CA certificate
-rw-r--r--main/src/main/java/de/blinkt/openvpn/VpnProfile.java5
-rwxr-xr-xmain/src/main/res/values/strings.xml1
2 files changed, 0 insertions, 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 @@
<string name="export_config_chooser_title">Export configuration file</string>
<string name="missing_tlsauth">tls-auth file is missing</string>
<string name="missing_certificates">Missing user certificate or user certifcate key file</string>
- <string name="missing_ca_certificate">Missing CA certificate</string>
<string name="crl_title">Certifcate Revoke List (optional)</string>
<string name="reread_log">Reread (%d) log items from log cache file</string>
<string name="samsung_broken">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.</string>