diff options
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/VpnProfile.java | 7 | ||||
-rwxr-xr-x | main/src/main/res/values/strings.xml | 1 |
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> |