src/protocols/jabber/auth.c

changeset 10496
e37350c6cec6
parent 10441
748e52593265
child 10684
0325b164a7eb
equal deleted inserted replaced
10495:0914f9d916a8 10496:e37350c6cec6
47 jabber_send_raw(js, 47 jabber_send_raw(js,
48 "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>", -1); 48 "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>", -1);
49 return TRUE; 49 return TRUE;
50 } else if(xmlnode_get_child(starttls, "required")) { 50 } else if(xmlnode_get_child(starttls, "required")) {
51 if(gaim_ssl_is_supported()) { 51 if(gaim_ssl_is_supported()) {
52 gaim_connection_error(js->gc, _("Server requires TLS/SSL for login. Select \"Enable TLS if available\" in account properties")); 52 gaim_connection_error(js->gc, _("Server requires TLS/SSL for login. Select \"Use TLS if available\" in account properties"));
53 } else { 53 } else {
54 gaim_connection_error(js->gc, _("Server requires TLS/SSL for login. No TLS/SSL support found.")); 54 gaim_connection_error(js->gc, _("Server requires TLS/SSL for login. No TLS/SSL support found."));
55 } 55 }
56 return TRUE; 56 return TRUE;
57 } 57 }

mercurial