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
commit4eb3ba653d0a7b5578ded1c4a4ae907b4532b016 (patch)
tree2fc0986432573666eeddcad009604929b48c9330 /src/de/blinkt/openvpn/VpnProfile.java
parenta961e7203a288be0bd1bc3e5063c9f63aa0f6143 (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";