summaryrefslogtreecommitdiff
path: root/app/src/debug
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-11-12 21:19:56 +0100
committerParménides GV <parmegv@sdf.org>2014-11-12 21:19:56 +0100
commitaa18e44b32a5a93e3bae6478be12ab371c42650b (patch)
tree40ebfa829fa2c3a33cc400b2923de4c4790c0d2a /app/src/debug
parent284a35d3ee622c75593bc79e08a356099517154f (diff)
ProviderAPI.getNewCert fixed in release.
Reproduced the refactoring done in debug.
Diffstat (limited to 'app/src/debug')
-rw-r--r--app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java b/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java
index 07e0e2fe..b233deef 100644
--- a/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java
+++ b/app/src/debug/java/se/leap/bitmaskclient/ProviderAPI.java
@@ -962,7 +962,6 @@ public class ProviderAPI extends IntentService {
certificateString = Base64.encodeToString( certCert.getEncoded(), Base64.DEFAULT);
preferences.edit().putString(EIP.CERTIFICATE, "-----BEGIN CERTIFICATE-----\n"+certificateString+"-----END CERTIFICATE-----").commit();
preferences.edit().putString(EIP.DATE_FROM_CERTIFICATE, EIP.certificate_date_format.format(Calendar.getInstance().getTime())).commit();
-
return true;
} catch (CertificateException e) {
// TODO Auto-generated catch block