diff options
author | Arne Schwabe <arne@rfc2549.org> | 2021-10-07 19:08:50 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2021-10-07 19:08:50 +0200 |
commit | 34be3fa975cc7693e8f0203e7dbe5a60df8525a2 (patch) | |
tree | 1f3d823fd427e783f0045a65bd69a57feb270324 /main/src/main/java/de/blinkt/openvpn/VpnProfile.java | |
parent | f6c095af0a33437aafb0c3a2eb8bcccb93e1c36f (diff) |
Fix static keys no longer working and remove duplicate check
Diffstat (limited to 'main/src/main/java/de/blinkt/openvpn/VpnProfile.java')
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/VpnProfile.java | 7 |
1 files changed, 0 insertions, 7 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; |