summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/src/main/java/de/blinkt/openvpn/VpnProfile.java2
1 files changed, 1 insertions, 1 deletions
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;
}