summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient/ProviderAPI.java
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-06-10 18:56:34 +0200
committerParménides GV <parmegv@sdf.org>2013-06-10 18:59:20 +0200
commit1e2470b1e940877f6fe247a65bccd2b62b621eb6 (patch)
tree87797f93529df1e2e04a5ecf924ada9abdb3b729 /src/se/leap/leapclient/ProviderAPI.java
parent265a66e66cffacbd2c99f99bebbcec3bf100a546 (diff)
Removed unused methods and variables.
Variables from LeapSRPSession were there because I used it while testing srp calculations, comparing that strings with the ones from javascript. Unused method from ProviderAPI was there because I foresee I'll have to implement it in the future, but I've removed it since it's already in the history. This fixes #2781.
Diffstat (limited to 'src/se/leap/leapclient/ProviderAPI.java')
-rw-r--r--src/se/leap/leapclient/ProviderAPI.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/se/leap/leapclient/ProviderAPI.java b/src/se/leap/leapclient/ProviderAPI.java
index a51c3a05..0898ebb8 100644
--- a/src/se/leap/leapclient/ProviderAPI.java
+++ b/src/se/leap/leapclient/ProviderAPI.java
@@ -125,18 +125,6 @@ public class ProviderAPI extends IntentService {
return false;
}
}
-
- private boolean registerWithSRP(Bundle task) {
- String username = (String) task.get(ConfigHelper.USERNAME_KEY);
- String password = (String) task.get(ConfigHelper.PASSWORD_KEY);
- String authentication_server = (String) task.get(ConfigHelper.API_URL_KEY);
-
- BigInteger ng_1024 = new BigInteger(ConfigHelper.NG_1024, 16);
- BigInteger salt = ng_1024.probablePrime(1024, null);
- byte[] salt_in_bytes = salt.toByteArray();
-
- return false;
- }
private Bundle authenticateBySRP(Bundle task) {
Bundle session_id_bundle = new Bundle();