summaryrefslogtreecommitdiff
path: root/src/se
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-11-20 21:38:19 +0100
committerParménides GV <parmegv@sdf.org>2013-11-20 21:38:19 +0100
commitc500f60c9188c938b550b8741ca9a4f4939429e4 (patch)
tree19b25ce9a9a9682efa37723f0c98560af13ce43a /src/se
parentcede0d3c59742b1f252aa59e72ea376f3ad9486d (diff)
Fixed compilation error from rebases.
Diffstat (limited to 'src/se')
-rw-r--r--src/se/leap/bitmaskclient/ProviderAPI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/se/leap/bitmaskclient/ProviderAPI.java b/src/se/leap/bitmaskclient/ProviderAPI.java
index 350e6f13..83afd95c 100644
--- a/src/se/leap/bitmaskclient/ProviderAPI.java
+++ b/src/se/leap/bitmaskclient/ProviderAPI.java
@@ -723,7 +723,7 @@ public class ProviderAPI extends IntentService {
URL new_cert_string_url = new URL(provider_main_url + "/" + provider_json.getString(Provider.API_VERSION) + "/" + EIP.CERTIFICATE);
boolean danger_on = ConfigHelper.getBoolFromSharedPref(ProviderItem.DANGER_ON);
- String cert_string = downloadWithProviderCA(new_cert_string_url, danger_on);
+ String cert_string = downloadWithProviderCA(new_cert_string_url.toString(), danger_on);
if(!cert_string.isEmpty()) {
if(ConfigHelper.checkErroneousDownload(cert_string)) {
String reason_to_fail = provider_json.getString(ERRORS);