# HG changeset patch # User Nathan Walp # Date 1139493970 0 # Node ID 0c4db52c6a3d239a260af4189f6ac7857681cd12 # Parent 76c66b7e1327f80ddc2a1c2414d480e8f5472b47 [gaim-migrate @ 15569] Simon (Wilkinson) says: fix SASL committer: Tailor Script diff -r 76c66b7e1327 -r 0c4db52c6a3d src/protocols/jabber/auth.c --- a/src/protocols/jabber/auth.c Thu Feb 09 07:47:32 2006 +0000 +++ b/src/protocols/jabber/auth.c Thu Feb 09 14:06:10 2006 +0000 @@ -192,14 +192,16 @@ /* Set up security properties and options */ secprops.min_ssf = 0; secprops.security_flags = SASL_SEC_NOANONYMOUS; - secprops.max_ssf = -1; - secprops.maxbufsize = -1; if (!js->gsc) { + secprops.max_ssf = -1; + secprops.maxbufsize = 4096; plaintext = gaim_account_get_bool(js->gc->account, "auth_plain_in_clear", FALSE); if (!plaintext) secprops.security_flags |= SASL_SEC_NOPLAINTEXT; } else { + secprops.max_ssf = 0; + secprops.maxbufsize = 0; plaintext = TRUE; } secprops.property_names = 0;