summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/ConfigParser.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-12-23 01:07:51 +0100
committerArne Schwabe <arne@rfc2549.org>2012-12-23 01:07:51 +0100
commit6023835ef31cd5ee5c54604140f9352939b477a7 (patch)
treee5e47e21948baf1e385462c45f76761195360fe4 /src/de/blinkt/openvpn/ConfigParser.java
parent6ebfab4ffa0fb2d730bc864a24ee0c4b87fc6b88 (diff)
Fix importing of embedded PKCS12 files
Diffstat (limited to 'src/de/blinkt/openvpn/ConfigParser.java')
-rw-r--r--src/de/blinkt/openvpn/ConfigParser.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/de/blinkt/openvpn/ConfigParser.java b/src/de/blinkt/openvpn/ConfigParser.java
index 7d93a94e..f2814f7e 100644
--- a/src/de/blinkt/openvpn/ConfigParser.java
+++ b/src/de/blinkt/openvpn/ConfigParser.java
@@ -235,8 +235,9 @@ public class ConfigParser {
"status",
"suppress-timestamps",
"tmp-dir",
+ "tun-ipv6",
"topology",
- "win-sys"
+ "win-sys",
};
@@ -451,9 +452,9 @@ public class ConfigParser {
if(connectretrymax!=null)
np.mConnectRetryMax =connectretrymax.get(1);
- Vector<Vector<String>> remotetls = getAllOption("remote-tls", 1, 1);
+ Vector<Vector<String>> remotetls = getAllOption("remote-cert-tls", 1, 1);
if(remotetls!=null)
- if(remotetls.get(1).equals("server"))
+ if(remotetls.get(0).get(1).equals("server"))
np.mExpectTLSCert=true;
else
options.put("remotetls",remotetls);