From 1fe49a0545bb3b4726b371512bf7a80610fbc995 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Tue, 1 Apr 2014 11:38:34 +0200 Subject: [PATCH] fixed digest-md5 auth to work with prosody as well. thank you Florian Schmaus --- src/eu/siacs/conversations/utils/CryptoHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eu/siacs/conversations/utils/CryptoHelper.java b/src/eu/siacs/conversations/utils/CryptoHelper.java index 08a65992e..c1be56c88 100644 --- a/src/eu/siacs/conversations/utils/CryptoHelper.java +++ b/src/eu/siacs/conversations/utils/CryptoHelper.java @@ -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()),