diff options
author | Arne Schwabe <arne@rfc2549.org> | 2014-07-07 11:18:49 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2014-07-07 11:18:49 +0200 |
commit | 5ce6460f301dcb172f0ffd3573c33e1a857e5a0e (patch) | |
tree | 8f8ef42a0f17614fcd3245834a1b257b8ad0c2a5 /main/src | |
parent | 35ddabe208a27db9cf0a548c3e00b47e6facf27a (diff) |
Change default to require matching server name instead of certificate EKU (which gives a confusing error message)
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/main/java/de/blinkt/openvpn/VpnProfile.java | 5 |
1 files changed, 3 insertions, 2 deletions
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; } |