comparison libpurple/protocols/jabber/auth_digest_md5.c @ 31449:1c660ba17ba1

propagate from branch 'im.pidgin.pidgin' (head 6f879669a6513a5c40335bbaefe842389a92b39e) to branch 'im.pidgin.cpw.qulogic.cairo' (head 4ab0199887f74442673fd46dcbb662bc7f070bc4)
author Marcus Lundblad <ml@update.uu.se>
date Sun, 21 Nov 2010 20:30:12 +0000
parents 943fce8ef142
children e743507b3767
comparison
equal deleted inserted replaced
31448:9a705087d64e 31449:1c660ba17ba1
180 return JABBER_SASL_STATE_FAIL; 180 return JABBER_SASL_STATE_FAIL;
181 } 181 }
182 182
183 dec_in = (char *)purple_base64_decode(enc_in, NULL); 183 dec_in = (char *)purple_base64_decode(enc_in, NULL);
184 purple_debug_misc("jabber", "decoded challenge (%" 184 purple_debug_misc("jabber", "decoded challenge (%"
185 G_GSIZE_FORMAT "): %s\n", strlen(dec_in), dec_in); 185 G_GSIZE_FORMAT "): %s\n",
186 dec_in != NULL ? strlen(dec_in) : 0,
187 dec_in != NULL ? dec_in : "(null)");
186 188
187 parts = parse_challenge(dec_in); 189 parts = parse_challenge(dec_in);
188 190
189 if (g_hash_table_lookup(parts, "rspauth")) { 191 if (g_hash_table_lookup(parts, "rspauth")) {
190 char *rspauth = g_hash_table_lookup(parts, "rspauth"); 192 char *rspauth = g_hash_table_lookup(parts, "rspauth");