# HG changeset patch # User Paul Aurich # Date 1276383704 0 # Node ID 40a8aae4b276410f02e09b766c767c2d541f0a69 # Parent e9d540664ea3dd0b3ccae72a3a2ee8ebf582f854 jabber: Document the other cyrus hack (ignoring EXTERNAL) diff -r e9d540664ea3 -r 40a8aae4b276 libpurple/protocols/jabber/auth_cyrus.c --- a/libpurple/protocols/jabber/auth_cyrus.c Sat Jun 12 20:18:31 2010 +0000 +++ b/libpurple/protocols/jabber/auth_cyrus.c Sat Jun 12 23:01:44 2010 +0000 @@ -408,6 +408,12 @@ { char *mech_name = xmlnode_get_data(mechnode); + /* Ignore blank mechanisms and EXTERNAL. External isn't + * supported, and Cyrus SASL's mechanism returns + * SASL_NOMECH when the caller (us) doesn't configure it. + * Except SASL_NOMECH is supposed to mean "no concordant + * mechanisms"... Easiest just to blacklist it (for now). + */ if (!mech_name || !*mech_name || g_str_equal(mech_name, "EXTERNAL")) { g_free(mech_name);