summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2018-10-08 00:49:34 +0300
committerArne Schwabe <arne@rfc2549.org>2018-10-08 00:49:34 +0300
commit4d9b77fca20b169ac328fdc5a29e2dc4cbd51392 (patch)
treecd859738cd39bb37b1ef1e57951c2ae7cdd2b35c
parent3cb8f44a92471e43589a80067380d7b262c18c20 (diff)
Allow specification of a CA even when a pkcs12 is used
-rw-r--r--main/src/main/java/de/blinkt/openvpn/fragments/Settings_Basic.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/main/java/de/blinkt/openvpn/fragments/Settings_Basic.java b/main/src/main/java/de/blinkt/openvpn/fragments/Settings_Basic.java
index 739746b4..81da76fe 100644
--- a/main/src/main/java/de/blinkt/openvpn/fragments/Settings_Basic.java
+++ b/main/src/main/java/de/blinkt/openvpn/fragments/Settings_Basic.java
@@ -144,6 +144,8 @@ public class Settings_Basic extends KeyChainSettingsFragment implements OnItemSe
mView.findViewById(R.id.userpassword).setVisibility(View.VISIBLE);
case VpnProfile.TYPE_PKCS12:
mView.findViewById(R.id.pkcs12).setVisibility(View.VISIBLE);
+ mView.findViewById(R.id.cacert).setVisibility(View.VISIBLE);
+ ((FileSelectLayout) mView.findViewById(R.id.caselect)).setClearable(true);
break;
case VpnProfile.TYPE_STATICKEYS: