aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-01 11:38:34 +0200
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-01 11:38:34 +0200
commit1fe49a0545bb3b4726b371512bf7a80610fbc995 (patch)
tree44a5d299099fb40e7a519e531f3fa7667bc69ff2 /src
parentade2982b5eb7e2ab63c720cd716629831e4f724b (diff)
fixed digest-md5 auth to work with prosody as well. thank you Florian Schmaus
Diffstat (limited to 'src')
-rw-r--r--src/eu/siacs/conversations/utils/CryptoHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/utils/CryptoHelper.java b/src/eu/siacs/conversations/utils/CryptoHelper.java
index 08a65992..c1be56c8 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()),