changeset 21921:cf17e6871edc

Daniel pointed out that this should be digest, not &digest, because auth_hmac_md5 takes a guchar* rather than a guchar**
author Evan Schoenberg <evan.s@dreskin.net>
date Sat, 22 Dec 2007 15:45:13 +0000
parents 76d025660d9e
children d7f1231cc21a
files libpurple/protocols/jabber/auth.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth.c	Sat Dec 22 11:40:34 2007 +0000
+++ b/libpurple/protocols/jabber/auth.c	Sat Dec 22 15:45:13 2007 +0000
@@ -691,7 +691,7 @@
 			int i;
 
 			challenge = xmlnode_get_attrib(xmlnode_get_child(query, "crammd5"), "challenge");
-			auth_hmac_md5(challenge, strlen(challenge), pw, strlen(pw), &digest);
+			auth_hmac_md5(challenge, strlen(challenge), pw, strlen(pw), digest);
 
 			/* Create the response query */
 			iq = jabber_iq_new_query(js, JABBER_IQ_SET, "jabber:iq:auth");