summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/values/strings.xml2
-rw-r--r--src/de/blinkt/openvpn/ConfigParser.java7
-rw-r--r--src/de/blinkt/openvpn/OpenVPNThread.java5
-rw-r--r--src/de/blinkt/openvpn/ProfileManager.java2
4 files changed, 6 insertions, 10 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 623a3cf..56f736b 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -125,7 +125,7 @@
<string name="check_remote_tlscert_title">Except TLS Server</string>
<string name="remote_tlscn_check_summary">Checks the Remote Server Certificate CN against a String</string>
<string name="remote_tlscn_check_title">Certificate Hostname Check</string>
- <string name="enter_tlscn_dialog">Enter the String against which the remote Server is checked. Openvpn will use prefix matching. &quot;Server&quot; matches &quot;Server-1&quot; and &quot;Server-2&quot;\\nLeave empty to check the CN against the server hostname.</string>
+ <string name="enter_tlscn_dialog">Enter the string against which the remote Server is checked. Openvpn will use prefix matching. &quot;Server&quot; matches &quot;Server-1&quot; and &quot;Server-2&quot;\nLeave empty to check the CN against the server hostname.</string>
<string name="enter_tlscn_title">Remote Hostname(CN)</string>
<string name="tls_key_auth">Enables the TLS Key Authentication</string>
<string name="tls_auth_file">TLS Auth File</string>
diff --git a/src/de/blinkt/openvpn/ConfigParser.java b/src/de/blinkt/openvpn/ConfigParser.java
index 4447eaf..8510710 100644
--- a/src/de/blinkt/openvpn/ConfigParser.java
+++ b/src/de/blinkt/openvpn/ConfigParser.java
@@ -220,8 +220,11 @@ public class ConfigParser {
"topology",
"persist-tun",
"route-metric",
- "suppress-timestamps"
-
+ "suppress-timestamps",
+ "management-query-passwords",
+ "tmp-dir",
+ "management-hold",
+ "management"
};
diff --git a/src/de/blinkt/openvpn/OpenVPNThread.java b/src/de/blinkt/openvpn/OpenVPNThread.java
index 503f4c4..fdb0ac0 100644
--- a/src/de/blinkt/openvpn/OpenVPNThread.java
+++ b/src/de/blinkt/openvpn/OpenVPNThread.java
@@ -10,14 +10,12 @@ import android.util.Log;
public class OpenVPNThread implements Runnable {
private static final String TAG = "OpenVPN";
- private OpenVpnService mService;
private String[] mArgv;
private Process mProcess;
private String mNativeDir;
public OpenVPNThread(OpenVpnService service,String[] argv, String nativelibdir)
{
- mService = service;
mArgv = argv;
mNativeDir = nativelibdir;
}
@@ -31,9 +29,6 @@ public class OpenVPNThread implements Runnable {
try {
Log.i(TAG, "Starting openvpn");
startOpenVPNThreadArgs(mArgv);
-
-
- //}
Log.i(TAG, "Giving up");
} catch (Exception e) {
Log.e(TAG, "Got " + e.toString());
diff --git a/src/de/blinkt/openvpn/ProfileManager.java b/src/de/blinkt/openvpn/ProfileManager.java
index eb94505..0164fe5 100644
--- a/src/de/blinkt/openvpn/ProfileManager.java
+++ b/src/de/blinkt/openvpn/ProfileManager.java
@@ -10,8 +10,6 @@ import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
-import de.blinkt.openvpn.R.string;
-
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;