summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient/LeapSRPSession.java
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2013-04-16 20:12:13 +0200
committerParménides GV <parmegv@sdf.org>2013-04-29 17:09:12 +0200
commit8e47afc7f4f85b80d59d253378681cb85ec54d5c (patch)
tree293979f8b91100da38d009811fcfdfdc9e022f1c /src/se/leap/leapclient/LeapSRPSession.java
parent5a7e2365365a3b1f773212cefdeeaa4ee587a590 (diff)
Made SRP working with ProviderAPI methods more frequently than not in localhost, but I cannot succeed in api.bitmask.net with my personal account. Next step: add tests from api.bitmask.net.
Diffstat (limited to 'src/se/leap/leapclient/LeapSRPSession.java')
-rw-r--r--src/se/leap/leapclient/LeapSRPSession.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/se/leap/leapclient/LeapSRPSession.java b/src/se/leap/leapclient/LeapSRPSession.java
index abdf6b2c..6fc8b2b1 100644
--- a/src/se/leap/leapclient/LeapSRPSession.java
+++ b/src/se/leap/leapclient/LeapSRPSession.java
@@ -70,6 +70,8 @@ public class LeapSRPSession {
*/
this.a = new BigInteger(abytes);
}
+ else
+ A_LEN = 64;
// Calculate x = H(s | H(U | ':' | password))
byte[] salt_bytes = Util.trim(params.s);