diff options
author | Arne Schwabe <arne@rfc2549.org> | 2013-02-02 16:37:43 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2013-02-02 16:37:43 +0100 |
commit | f00cd03f5aa1f8042b55ebee5050d297cef6bb8a (patch) | |
tree | d6366f6696889de81932df08bec243f06e547cf2 /src/de/blinkt/openvpn/VpnProfile.java | |
parent | dbd9cf8fadb8d2911a20ad4fd3ddb708a7b77dba (diff) |
Add the --auth option to the auth/enc dialog
Diffstat (limited to 'src/de/blinkt/openvpn/VpnProfile.java')
-rw-r--r-- | src/de/blinkt/openvpn/VpnProfile.java | 4 |
1 files changed, 4 insertions, 0 deletions
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) |