summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2017-01-30 18:09:28 +0100
committerArne Schwabe <arne@rfc2549.org>2017-01-30 18:09:28 +0100
commite47190b6b7c858d61ee3874cfb8dc8d30b701ae0 (patch)
tree437e61dd46efc3d52a1093b82b4344278b076fa2 /main
parentc8ed56d661cfba44b626ac8b65aa7206e92e8965 (diff)
Revert change
Diffstat (limited to 'main')
-rw-r--r--main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java b/main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java
index d97dce03..bc03db25 100644
--- a/main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java
+++ b/main/src/main/java/de/blinkt/openvpn/core/VPNLaunchHelper.java
@@ -21,8 +21,8 @@ import de.blinkt.openvpn.R;
import de.blinkt.openvpn.VpnProfile;
public class VPNLaunchHelper {
- private static final String MININONPIEVPN = "c_nopie_openvpn";
- private static final String MINIPIEVPN = "c_pie_openvpn";
+ private static final String MININONPIEVPN = "nopie_openvpn";
+ private static final String MINIPIEVPN = "pie_openvpn";
private static final String OVPNCONFIGFILE = "android.conf";
@@ -43,7 +43,7 @@ public class VPNLaunchHelper {
for (String abi: abis) {
- File vpnExecutable = new File(context.getCacheDir(), getMiniVPNExecutableName() + "." + abi);
+ File vpnExecutable = new File(context.getCacheDir(), "c_" + getMiniVPNExecutableName() + "." + abi);
if ((vpnExecutable.exists() && vpnExecutable.canExecute()) || writeMiniVPNBinary(context, abi, vpnExecutable)) {
return vpnExecutable.getPath();
}