From 5ce6460f301dcb172f0ffd3573c33e1a857e5a0e Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 7 Jul 2014 11:18:49 +0200 Subject: Change default to require matching server name instead of certificate EKU (which gives a confusing error message) --- main/src/main/java/de/blinkt/openvpn/VpnProfile.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (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 c8771e9f..35bfc551 100644 --- a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java +++ b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java @@ -111,8 +111,8 @@ public class VpnProfile implements Serializable { public boolean mUseDefaultRoute = true; public boolean mUsePull = true; public String mCustomRoutes; - public boolean mCheckRemoteCN = false; - public boolean mExpectTLSCert = true; + public boolean mCheckRemoteCN = true; + public boolean mExpectTLSCert = false; public String mRemoteCN = ""; public String mPassword = ""; public String mUsername = ""; @@ -177,6 +177,7 @@ public class VpnProfile implements Serializable { mUseDefaultRoute = false; mUseDefaultRoutev6 = false; mExpectTLSCert = false; + mCheckRemoteCN = false; mPersistTun = false; mAllowLocalLAN = true; } -- cgit v1.2.3