summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/ConfigParser.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-02-02 16:37:43 +0100
committerArne Schwabe <arne@rfc2549.org>2013-02-02 16:37:43 +0100
commitf00cd03f5aa1f8042b55ebee5050d297cef6bb8a (patch)
treed6366f6696889de81932df08bec243f06e547cf2 /src/de/blinkt/openvpn/ConfigParser.java
parentdbd9cf8fadb8d2911a20ad4fd3ddb708a7b77dba (diff)
Add the --auth option to the auth/enc dialog
Diffstat (limited to 'src/de/blinkt/openvpn/ConfigParser.java')
-rw-r--r--src/de/blinkt/openvpn/ConfigParser.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/ConfigParser.java b/src/de/blinkt/openvpn/ConfigParser.java
index dc605bbc..99e7ec93 100644
--- a/src/de/blinkt/openvpn/ConfigParser.java
+++ b/src/de/blinkt/openvpn/ConfigParser.java
@@ -388,6 +388,11 @@ public class ConfigParser {
if(cipher!=null)
np.mCipher= cipher.get(1);
+ Vector<String> auth = getOption("auth", 1, 1);
+ if(auth!=null)
+ np.mAuth = auth.get(1);
+
+
Vector<String> ca = getOption("ca",1,1);
if(ca!=null){
np.mCaFilename = ca.get(1);