From 83f18ec709d71d843155a8df853b014e5a599c01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Parm=C3=A9nides=20GV?= Date: Thu, 3 Oct 2013 10:18:18 +0200 Subject: 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". --- src/se/leap/leapclient/LeapSRPSession.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/se/leap/leapclient/LeapSRPSession.java') 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; -- cgit v1.2.3