From 2f137c89d76808d537d3694975518df30475bd90 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Sat, 30 Oct 2021 23:00:54 +0200 Subject: Update OpenVPN 2.x and OpenVPN 3.x Signed-off-by: Arne Schwabe --- main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main/src/ui/java/de/blinkt/openvpn/core') diff --git a/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java b/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java index f10011c9..b9ed9822 100644 --- a/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java +++ b/main/src/ui/java/de/blinkt/openvpn/core/OpenVPNThreadv3.java @@ -185,6 +185,8 @@ public class OpenVPNThreadv3 extends ClientAPI_OpenVPNClient implements Runnable boolean retryOnAuthFailed = mVp.mAuthRetry == AUTH_RETRY_NOINTERACT; config.setRetryOnAuthFailed(retryOnAuthFailed); config.setEnableLegacyAlgorithms(mVp.mUseLegacyProvider); + if (mVp.mCompatMode > 0 && mVp.mCompatMode < 20500) + config.setEnableNonPreferredDCOAlgorithms(true); if (!TextUtils.isEmpty(mVp.mTlSCertProfile)) config.setTlsCertProfileOverride(mVp.mTlSCertProfile); -- cgit v1.2.3