im.pidgin.pidgin: 16e6cd4ffd8a8308380dc016f0afa782a7750374

evands at pidgin.im evands at pidgin.im
Sat Dec 22 10:50:38 EST 2007


-----------------------------------------------------------------
Revision: 16e6cd4ffd8a8308380dc016f0afa782a7750374
Ancestor: 10d3d59c0380562be84f687ad42dba6f7e3b8f44
Author: evands at pidgin.im
Date: 2007-12-22T15:45:13
Branch: im.pidgin.pidgin

Modified files:
        libpurple/protocols/jabber/auth.c

ChangeLog: 

Daniel pointed out that this should be digest, not &digest, because auth_hmac_md5 takes a guchar* rather than a guchar**

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/auth.c	2684fad0a6124ff69816fe569c83582fa9579ce1
+++ libpurple/protocols/jabber/auth.c	c7157e2b2625e9be09dd8b2c201b1d3dcc72fd19
@@ -691,7 +691,7 @@ static void auth_old_cb(JabberStream *js
 			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");


More information about the Commits mailing list