diff options
author | Parménides GV <parmegv@sdf.org> | 2013-06-29 13:01:07 +0200 |
---|---|---|
committer | Sean Leonard <meanderingcode@aetherislands.net> | 2013-07-12 14:27:04 -0600 |
commit | 7202591b0a42cd91a10255720bd80c2218af2093 (patch) | |
tree | 27581731eb125062a2eb5dbbd6ba5d9f627852af /src/se/leap | |
parent | 3e04f2ab44e5e5e33efcfe515088ec3f918ccef0 (diff) |
Shows certificate error message.
If a download didn't occurr due to an IOException, we assume it was for
an SSL error and notify the user telling him/her that LEAP provider is
not trusted.
Diffstat (limited to 'src/se/leap')
-rw-r--r-- | src/se/leap/leapclient/ProviderAPI.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/se/leap/leapclient/ProviderAPI.java b/src/se/leap/leapclient/ProviderAPI.java index fba0ab01..f3ea5f2e 100644 --- a/src/se/leap/leapclient/ProviderAPI.java +++ b/src/se/leap/leapclient/ProviderAPI.java @@ -396,7 +396,7 @@ public class ProviderAPI extends IntentService { } else { displayToast(R.string.certificate_error); } - displayToast(R.string.malformed_url); + displayToast(R.string.certificate_error); } catch (Exception e) { if(provider_url != null && danger_on) { json_file_content = getStringFromProviderWithoutValidate(provider_url); |