diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-12-23 01:07:51 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-12-23 01:07:51 +0100 |
commit | 174a0c8a3807df22ebd5731e139c0f0bb511f85b (patch) | |
tree | 58b0e110fa5b5e0cf7c25e84e64fd8f860e2e5e9 /src/de/blinkt/openvpn/ConfigParser.java | |
parent | fac7abcf6717bf1c188b04b9f42af3924cef8f33 (diff) |
Fix importing of embedded PKCS12 files
Diffstat (limited to 'src/de/blinkt/openvpn/ConfigParser.java')
-rw-r--r-- | src/de/blinkt/openvpn/ConfigParser.java | 7 |
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); |