fixed digest-md5 auth to work with prosody as well. thank you Florian Schmaus

This commit is contained in:
Daniel Gultsch 2014-04-01 11:38:34 +02:00
parent ade2982b5e
commit 1fe49a0545

View File

@ -82,7 +82,7 @@ public class CryptoHelper {
+ "\",realm=\"" + account.getServer() + "\",nonce=\""
+ nonce + "\",cnonce=\"" + cNonce
+ "\",nc="+nonceCount+",qop=auth,digest-uri=\""+digestUri+"\",response=" + response
+ ",charset=utf-8,authzid=\"" + account.getJid() + "\"";
+ ",charset=utf-8";
Log.d("xmppService", "saslString=" + saslString);
return Base64.encodeToString(
saslString.getBytes(Charset.defaultCharset()),