summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2021-10-07 19:08:50 +0200
committerArne Schwabe <arne@rfc2549.org>2021-10-07 19:08:50 +0200
commit34be3fa975cc7693e8f0203e7dbe5a60df8525a2 (patch)
tree1f3d823fd427e783f0045a65bd69a57feb270324
parentf6c095af0a33437aafb0c3a2eb8bcccb93e1c36f (diff)
Fix static keys no longer working and remove duplicate check
-rw-r--r--main/src/main/java/de/blinkt/openvpn/VpnProfile.java7
-rwxr-xr-xmain/src/main/res/values/strings.xml1
2 files changed, 0 insertions, 8 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
index 2dbb1be8..772274ea 100644
--- a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
+++ b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java
@@ -1058,13 +1058,6 @@ public class VpnProfile implements Serializable, Cloneable {
}
}
-
- if (mAuthenticationType == TYPE_STATICKEYS || mAuthenticationType == TYPE_CERTIFICATES
- || mAuthenticationType == TYPE_USERPASS_CERTIFICATES) {
- if (!mCheckPeerFingerprint && TextUtils.isEmpty(mCaFilename)) {
- return R.string.need_fingerprint_or_ca;
- }
- }
// Everything okay
return R.string.no_error_found;
diff --git a/main/src/main/res/values/strings.xml b/main/src/main/res/values/strings.xml
index 3b84f418..e93275e8 100755
--- a/main/src/main/res/values/strings.xml
+++ b/main/src/main/res/values/strings.xml
@@ -510,7 +510,6 @@
<string name="import_from_access_server">OpenVPN Access Server</string>
<string name="import_from_URL">URL</string>
<string name="compatmode">Compatibility Mode</string>
- <string name="need_fingerprint_or_ca">An OpenVPN profile needs a CA certificate or peer fingerprint</string>
<string name="compat_mode_label">Compatibility mode</string>
<string name="loadossllegacy">Load OpenSSL legacy provider</string>