summaryrefslogtreecommitdiff
path: root/main/src/ui/java/de/blinkt/openvpn/fragments/Settings_Basic.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2021-10-06 16:25:09 +0200
committerArne Schwabe <arne@rfc2549.org>2021-10-06 16:58:03 +0200
commit3166e5229ce512c2424beed9514ab8d76dde2204 (patch)
treea2c076407fd056e4335964ca65ec1ea9e4873398 /main/src/ui/java/de/blinkt/openvpn/fragments/Settings_Basic.java
parentaaab1021aa5c6151dfeb9920fd48ebbc52076363 (diff)
Add option to allow loading the legacy provider
Diffstat (limited to 'main/src/ui/java/de/blinkt/openvpn/fragments/Settings_Basic.java')
-rw-r--r--main/src/ui/java/de/blinkt/openvpn/fragments/Settings_Basic.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/src/ui/java/de/blinkt/openvpn/fragments/Settings_Basic.java b/main/src/ui/java/de/blinkt/openvpn/fragments/Settings_Basic.java
index 0899dd13..d4ea3d92 100644
--- a/main/src/ui/java/de/blinkt/openvpn/fragments/Settings_Basic.java
+++ b/main/src/ui/java/de/blinkt/openvpn/fragments/Settings_Basic.java
@@ -26,6 +26,7 @@ public class Settings_Basic extends KeyChainSettingsFragment implements OnItemSe
private FileSelectLayout mCaCert;
private FileSelectLayout mClientKey;
private CheckBox mUseLzo;
+ private CheckBox mUseLegacyProvider;
private Spinner mType;
private Spinner mCompatMode;
private FileSelectLayout mpkcs12;
@@ -68,6 +69,7 @@ public class Settings_Basic extends KeyChainSettingsFragment implements OnItemSe
mpkcs12 = mView.findViewById(id.pkcs12select);
mCrlFile = mView.findViewById(id.crlfile);
mUseLzo = mView.findViewById(id.lzo);
+ mUseLegacyProvider = mView.findViewById(R.id.legacyprovider);
mType = mView.findViewById(id.type);
mCompatMode = mView.findViewById(id.compatmode);
mPKCS12Password = mView.findViewById(id.pkcs12password);
@@ -191,6 +193,7 @@ public class Settings_Basic extends KeyChainSettingsFragment implements OnItemSe
mCrlFile.setData(mProfile.mCrlFilename, getActivity());
mUseLzo.setChecked(mProfile.mUseLzo);
+ mUseLegacyProvider.setChecked(mProfile.mUseLegacyProvider);
mType.setSelection(mProfile.mAuthenticationType);
mCompatMode.setSelection(Utils.mapCompatVer(mProfile.mCompatMode));
mpkcs12.setData(mProfile.mPKCS12Filename, getActivity());