From 466a7df19b1433f37f8c5827264563dc7691ca5d Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 21 Sep 2020 13:56:40 +0200 Subject: Ignore AES-GCM cipher on conversion --- main/src/main/java/de/blinkt/openvpn/VpnProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/src') diff --git a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java index 6806232b..2cb12296 100644 --- a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java +++ b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java @@ -306,7 +306,7 @@ public class VpnProfile implements Serializable, Cloneable { if (mAllowAppVpnBypass) mBlockUnusedAddressFamilies = !mAllowAppVpnBypass; case 8: - if (!TextUtils.isEmpty(mCipher) && !"BF-CBC".equals(mCipher)) + if (!TextUtils.isEmpty(mCipher) && !mCipher.equals("AES-256-GCM") && !mCipher.equals("AES-128-GCM")) { mDataCiphers = "AES-256-GCM:AES-128-GCM:" + mCipher; } -- cgit v1.2.3