# HG changeset patch # User Evan Schoenberg # Date 1198338313 0 # Node ID cf17e6871edc844d7dffde56889c2667b5611df3 # Parent 76d025660d9ee9ed2dac10ed983b53d913fcfd47 Daniel pointed out that this should be digest, not &digest, because auth_hmac_md5 takes a guchar* rather than a guchar** diff -r 76d025660d9e -r cf17e6871edc libpurple/protocols/jabber/auth.c --- 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");