summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient/LeapHttpClient.java
diff options
context:
space:
mode:
authorSean Leonard <meanderingcode@aetherislands.net>2013-10-03 16:38:14 -0700
committerSean Leonard <meanderingcode@aetherislands.net>2013-10-03 16:38:14 -0700
commit697e7da6e1379ac23cd8dbb47a1246547abafda6 (patch)
tree07f7d05616c4c2d3a0425c96cc6ed8fc83f19d38 /src/se/leap/leapclient/LeapHttpClient.java
parent6112dcbb6a430651f172a7a07f2e9b7633299705 (diff)
parent83f18ec709d71d843155a8df853b014e5a599c01 (diff)
Merge branch 'feature/move-confighelper-constants' into develop
Diffstat (limited to 'src/se/leap/leapclient/LeapHttpClient.java')
-rw-r--r--src/se/leap/leapclient/LeapHttpClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/se/leap/leapclient/LeapHttpClient.java b/src/se/leap/leapclient/LeapHttpClient.java
index ed926d28..5dca31e9 100644
--- a/src/se/leap/leapclient/LeapHttpClient.java
+++ b/src/se/leap/leapclient/LeapHttpClient.java
@@ -46,7 +46,7 @@ public class LeapHttpClient extends DefaultHttpClient {
public static LeapHttpClient getInstance(Context context) {
if(client == null) {
client = new LeapHttpClient(context);
- String cert_string = ConfigHelper.getStringFromSharedPref(ConfigHelper.MAIN_CERT_KEY);
+ String cert_string = ConfigHelper.getStringFromSharedPref(Provider.CA_CERT);
if(cert_string != null) {
ConfigHelper.addTrustedCertificate("provider_ca_certificate", cert_string);
}