diff options
author | Parménides GV <parmegv@sdf.org> | 2013-10-03 10:18:18 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-10-03 10:18:18 +0200 |
commit | 83f18ec709d71d843155a8df853b014e5a599c01 (patch) | |
tree | 07f7d05616c4c2d3a0425c96cc6ed8fc83f19d38 /src/se/leap/leapclient/LeapSRPSession.java | |
parent | 97b517f386cdecefff806d79ad29355b60636e96 (diff) |
Fixed M2 and M1 constants values.
Logging in, it was returning a "Bad response from server" due to the malinterpretation of the received JSON. It was looking for a field named "m2", but it was "M2".
Diffstat (limited to 'src/se/leap/leapclient/LeapSRPSession.java')
-rw-r--r-- | src/se/leap/leapclient/LeapSRPSession.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/se/leap/leapclient/LeapSRPSession.java b/src/se/leap/leapclient/LeapSRPSession.java index fc30bd2b..5a78219b 100644 --- a/src/se/leap/leapclient/LeapSRPSession.java +++ b/src/se/leap/leapclient/LeapSRPSession.java @@ -36,8 +36,8 @@ import org.jboss.security.srp.SRPParameters; public class LeapSRPSession { final public static String SALT = "salt"; - final public static String M1 = "m1"; - final public static String M2 = "m2"; + final public static String M1 = "M1"; + final public static String M2 = "M2"; private SRPParameters params; private String username; |