From 34be3fa975cc7693e8f0203e7dbe5a60df8525a2 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Thu, 7 Oct 2021 19:08:50 +0200 Subject: Fix static keys no longer working and remove duplicate check --- main/src/main/java/de/blinkt/openvpn/VpnProfile.java | 7 ------- main/src/main/res/values/strings.xml | 1 - 2 files changed, 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 @@ OpenVPN Access Server URL Compatibility Mode - An OpenVPN profile needs a CA certificate or peer fingerprint Compatibility mode Load OpenSSL legacy provider -- cgit v1.2.3