diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-07-20 00:16:01 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-07-20 00:16:01 +0200 |
commit | 5b97d4a3d62cb70c790f2c71c464224368483ae8 (patch) | |
tree | e69860ccd3fa0b096a8c841b3f6a55d251f08d54 /src/de/blinkt/openvpn/Settings_Basic.java | |
parent | 1e7773f944ec179fa9057212a4a2910893e1b770 (diff) |
- Use config file name instead for default VPN name (closes issue #53)
- Allow importing the pkcs12 into the android keystone when converting configuration
Diffstat (limited to 'src/de/blinkt/openvpn/Settings_Basic.java')
-rw-r--r-- | src/de/blinkt/openvpn/Settings_Basic.java | 8 |
1 files changed, 4 insertions, 4 deletions
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); |