summaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2020-09-21 13:56:40 +0200
committerArne Schwabe <arne@rfc2549.org>2020-09-21 13:56:40 +0200
commit466a7df19b1433f37f8c5827264563dc7691ca5d (patch)
tree72cd1d9d3ed91c17cd39f33de1d1817034204ecb /main/src
parentf2d11715cf71f28b3440c39c9d82b165b0aaee4d (diff)
Ignore AES-GCM cipher on conversion
Diffstat (limited to 'main/src')
-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;
}