From f00cd03f5aa1f8042b55ebee5050d297cef6bb8a Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Sat, 2 Feb 2013 16:37:43 +0100 Subject: Add the --auth option to the auth/enc dialog --- src/de/blinkt/openvpn/VpnProfile.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/de/blinkt/openvpn/VpnProfile.java') diff --git a/src/de/blinkt/openvpn/VpnProfile.java b/src/de/blinkt/openvpn/VpnProfile.java index 74f01a3b..6f21397e 100644 --- a/src/de/blinkt/openvpn/VpnProfile.java +++ b/src/de/blinkt/openvpn/VpnProfile.java @@ -106,6 +106,7 @@ public class VpnProfile implements Serializable{ public String mConnectRetryMax="5"; public String mConnectRetry="5"; public boolean mUserEditable=true; + public String mAuth=""; static final String MINIVPN = "miniopenvpn"; @@ -349,6 +350,9 @@ public class VpnProfile implements Serializable{ cfg += "cipher " + mCipher + "\n"; } + if(nonNull(mAuth)) { + cfg += "auth " + mAuth + "\n"; + } // Obscure Settings dialog if(mUseRandomHostname) -- cgit v1.2.3