summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/VpnProfile.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-08-22 23:52:25 +0200
committerArne Schwabe <arne@rfc2549.org>2012-08-22 23:52:25 +0200
commitb3c34c5ecaf55c944ae1a7cbf3ab0010b70d91e7 (patch)
tree0e6676515840f136abe2c1de7e2f4ab534fc2de7 /src/de/blinkt/openvpn/VpnProfile.java
parent765818d19bbc5debfc2fd034943c071008b4090c (diff)
Enable the config converter to convert openvpn 2.2 tls-remote format to 2.3 format
Diffstat (limited to 'src/de/blinkt/openvpn/VpnProfile.java')
-rw-r--r--src/de/blinkt/openvpn/VpnProfile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/VpnProfile.java b/src/de/blinkt/openvpn/VpnProfile.java
index 3255c0b4..0d650991 100644
--- a/src/de/blinkt/openvpn/VpnProfile.java
+++ b/src/de/blinkt/openvpn/VpnProfile.java
@@ -319,7 +319,7 @@ public class VpnProfile implements Serializable{
if(mRemoteCN == null || mRemoteCN.equals("") )
cfg+="tls-remote " + mServerName + "\n";
else
- cfg += "tls-remote " + mRemoteCN + "\n";
+ cfg += "tls-remote " + openVpnEscape(mRemoteCN) + "\n";
}
if(mExpectTLSCert)
cfg += "remote-cert-tls server\n";