From 5b97d4a3d62cb70c790f2c71c464224368483ae8 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 20 Jul 2012 00:16:01 +0200 Subject: - Use config file name instead for default VPN name (closes issue #53) - Allow importing the pkcs12 into the android keystone when converting configuration --- src/de/blinkt/openvpn/Settings_Basic.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/de/blinkt/openvpn/Settings_Basic.java') diff --git a/src/de/blinkt/openvpn/Settings_Basic.java b/src/de/blinkt/openvpn/Settings_Basic.java index 0bf3078a..3ac00a66 100644 --- a/src/de/blinkt/openvpn/Settings_Basic.java +++ b/src/de/blinkt/openvpn/Settings_Basic.java @@ -300,11 +300,11 @@ public class Settings_Basic extends Fragment implements View.OnClickListener, On }, - new String[] {"RSA", "DSA"}, // List of acceptable key types. null for any + new String[] {"RSA"}, // List of acceptable key types. null for any null, // issuer, null for any - "internal.example.com", // host name of server requesting the cert, null if unavailable - 443, // port of server requesting the cert, -1 if unavailable - null); // alias to preselect, null if unavailable + mProfile.mServerName, // host name of server requesting the cert, null if unavailable + -1, // port of server requesting the cert, -1 if unavailable + mProfile.mAlias); // alias to preselect, null if unavailable } catch (ActivityNotFoundException anf) { Builder ab = new AlertDialog.Builder(getActivity()); ab.setTitle(R.string.broken_image_cert_title); -- cgit v1.2.3