From ff6064fe420c466a266711039fbada851b2832c7 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 4 Mar 2016 15:53:59 +0100 Subject: Actually embed the crl file in the generated configuration --- main/src/main/java/de/blinkt/openvpn/VpnProfile.java | 2 +- main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'main/src') diff --git a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java index 44de090f..11656ee3 100644 --- a/main/src/main/java/de/blinkt/openvpn/VpnProfile.java +++ b/main/src/main/java/de/blinkt/openvpn/VpnProfile.java @@ -383,7 +383,7 @@ public class VpnProfile implements Serializable, Cloneable { } if (!TextUtils.isEmpty(mCrlFilename)) - insertFileData("crl-verify",mCrlFilename); + cfg += insertFileData("crl-verify", mCrlFilename); if (mUseLzo) { cfg += "comp-lzo\n"; diff --git a/main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java b/main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java index 7ef33107..d14e643e 100644 --- a/main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java +++ b/main/src/main/java/de/blinkt/openvpn/core/ConfigParser.java @@ -293,7 +293,8 @@ public class ConfigParser { { {"setenv", "IV_GUI_VER"}, {"setenv", "IV_OPENVPN_GUI_VERSION"}, - {"engine", "dynamic"} + {"engine", "dynamic"}, + {"setenv", "CLIENT_CERT"} }; final String[] connectionOptions = { -- cgit v1.2.3