From 4d9b77fca20b169ac328fdc5a29e2dc4cbd51392 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 8 Oct 2018 00:49:34 +0300 Subject: Allow specification of a CA even when a pkcs12 is used --- main/src/main/java/de/blinkt/openvpn/fragments/Settings_Basic.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main') 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: -- cgit v1.2.3