# HG changeset patch # User Mark Doliner # Date 1158709577 0 # Node ID e2798f3d3a45f3b4c36202e1f9cf37dbc6af9fe4 # Parent 76542e1edf70e22d4f4e7f0c6f76a7d7cdd34bed [gaim-migrate @ 17325] Why would someone not want to use TLS? committer: Tailor Script diff -r 76542e1edf70 -r e2798f3d3a45 libgaim/protocols/jabber/auth.c --- a/libgaim/protocols/jabber/auth.c Tue Sep 19 23:43:09 2006 +0000 +++ b/libgaim/protocols/jabber/auth.c Tue Sep 19 23:46:17 2006 +0000 @@ -41,17 +41,12 @@ xmlnode *starttls; if((starttls = xmlnode_get_child(packet, "starttls"))) { - if(gaim_account_get_bool(js->gc->account, "use_tls", TRUE) && - gaim_ssl_is_supported()) { + if(gaim_ssl_is_supported()) { jabber_send_raw(js, "", -1); return TRUE; } else if(xmlnode_get_child(starttls, "required")) { - if(gaim_ssl_is_supported()) { - gaim_connection_error(js->gc, _("Server requires TLS/SSL for login. Select \"Use TLS if available\" in account properties")); - } else { - gaim_connection_error(js->gc, _("Server requires TLS/SSL for login. No TLS/SSL support found.")); - } + gaim_connection_error(js->gc, _("Server requires TLS/SSL for login. No TLS/SSL support found.")); return TRUE; } } diff -r 76542e1edf70 -r e2798f3d3a45 libgaim/protocols/jabber/jabber.c --- a/libgaim/protocols/jabber/jabber.c Tue Sep 19 23:43:09 2006 +0000 +++ b/libgaim/protocols/jabber/jabber.c Tue Sep 19 23:46:17 2006 +0000 @@ -1961,11 +1961,6 @@ split = gaim_account_user_split_new(_("Resource"), "Home", '/'); prpl_info.user_splits = g_list_append(prpl_info.user_splits, split); - option = gaim_account_option_bool_new(_("Use TLS if available"), "use_tls", - TRUE); - prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, - option); - option = gaim_account_option_bool_new(_("Force old (port 5223) SSL"), "old_ssl", FALSE); prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option);