summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/eip/VpnConfigGenerator.java
diff options
context:
space:
mode:
authorFup Duck <fupduck@sacknagel.com>2017-11-23 11:34:52 +0100
committerFup Duck <fupduck@sacknagel.com>2017-11-24 12:26:55 +0100
commit38796aeb892379b8c2b7e4e1d7af00c4c050e8dc (patch)
tree5149eb015674db51a2be97faa6bfdf70ce3d0700 /app/src/main/java/se/leap/bitmaskclient/eip/VpnConfigGenerator.java
parentf19e355b2e53af5d76880bb7450137c4c9a2e227 (diff)
Add Splash StartActivity
* added Splash StartActivity to handle updates and initialization * created global Constants * renamed EIP Constants
Diffstat (limited to 'app/src/main/java/se/leap/bitmaskclient/eip/VpnConfigGenerator.java')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/eip/VpnConfigGenerator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/eip/VpnConfigGenerator.java b/app/src/main/java/se/leap/bitmaskclient/eip/VpnConfigGenerator.java
index f428099e..33993139 100644
--- a/app/src/main/java/se/leap/bitmaskclient/eip/VpnConfigGenerator.java
+++ b/app/src/main/java/se/leap/bitmaskclient/eip/VpnConfigGenerator.java
@@ -118,14 +118,14 @@ public class VpnConfigGenerator {
String key =
"<key>"
+ new_line
- + secrets.getString(Constants.PRIVATE_KEY)
+ + secrets.getString(EIPConstants.PRIVATE_KEY)
+ new_line
+ "</key>";
String openvpn_cert =
"<cert>"
+ new_line
- + secrets.getString(Constants.VPN_CERTIFICATE)
+ + secrets.getString(EIPConstants.VPN_CERTIFICATE)
+ new_line
+ "</cert>";