From e652cd62a450aa4bb284d717a1f0bd1b1d1b86a2 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 9 May 2012 23:58:37 +0200 Subject: add cipher option --- AndroidManifest.xml | 4 ++-- res/values/strings.xml | 4 ++++ res/xml/vpn_authentification.xml | 12 +++++++++--- res/xml/vpn_headers.xml | 3 +-- src/de/blinkt/openvpn/Settings_Authentication.java | 13 +++++++++++++ src/de/blinkt/openvpn/VpnProfile.java | 11 +++++++++++ 6 files changed, 40 insertions(+), 7 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index bc3f311c..b6cdc32b 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -17,8 +17,8 @@ + android:versionCode="22" + android:versionName="0.5.1" > diff --git a/res/values/strings.xml b/res/values/strings.xml index 90009e8c..9073c0be 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -185,4 +185,8 @@ Shortcut to start You can place a shortcut to start OpenVPN on your desktop. Depending on your homescreen program you have to add a shortcut or a widget. Your image does not support the VPNService API,sorry :( + Encryption + Enter Encryption method + Enter the cipher key for openvpn. Leave empty to use default cipher + Authentication/Encryption diff --git a/res/xml/vpn_authentification.xml b/res/xml/vpn_authentification.xml index bd8d8ca5..79d69697 100644 --- a/res/xml/vpn_authentification.xml +++ b/res/xml/vpn_authentification.xml @@ -28,14 +28,20 @@ android:title="@string/tls_auth_file" /> -/> + + + \ No newline at end of file diff --git a/res/xml/vpn_headers.xml b/res/xml/vpn_headers.xml index f755dc8c..60ddce7c 100644 --- a/res/xml/vpn_headers.xml +++ b/res/xml/vpn_headers.xml @@ -15,8 +15,7 @@ android:title="IP Settings" />
+ android:title="@string/settings_auth" />
getCustomRoutes() { Vector cidrRoutes=new Vector(); if(mCustomRoutes==null) { -- cgit v1.2.3