summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient/LeapSRPSession.java
diff options
context:
space:
mode:
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);