diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-01 11:38:34 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-01 11:38:34 +0200 |
commit | 1fe49a0545bb3b4726b371512bf7a80610fbc995 (patch) | |
tree | 44a5d299099fb40e7a519e531f3fa7667bc69ff2 /src/eu/siacs/conversations/utils/CryptoHelper.java | |
parent | ade2982b5eb7e2ab63c720cd716629831e4f724b (diff) |
fixed digest-md5 auth to work with prosody as well. thank you Florian Schmaus
Diffstat (limited to 'src/eu/siacs/conversations/utils/CryptoHelper.java')
-rw-r--r-- | src/eu/siacs/conversations/utils/CryptoHelper.java | 2 |
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()), |