~ubuntu-branches/ubuntu/utopic/irssi-plugin-xmpp/utopic

« back to all changes in this revision

Viewing changes to src/core/xmpp-servers.c

  • Committer: Package Import Robot
  • Author(s): Florian Schlichting
  • Date: 2014-07-15 15:01:05 UTC
  • Revision ID: package-import@ubuntu.com-20140715150105-b15bondvgyduzfwd
Tags: 0.52+git20140102-2
* Add require-starttls.patch to ensure encrypted connections and prevent
  ssl-stripping attacks (closes: #754839). Thanks dkg for the patch!
* Fix conflicting declarations of set_ssl and ensure encryption when
  registering (closes: #749411)

Show diffs side-by-side

added added

removed removed

Lines of Context:
423
423
        ssl = lm_ssl_new(NULL, lm_ssl_cb, user_data, NULL);
424
424
        lm_connection_set_ssl(lmconn, ssl);
425
425
        if (use_starttls)
426
 
                lm_ssl_use_starttls(ssl, TRUE, FALSE);
 
426
                lm_ssl_use_starttls(ssl, TRUE, TRUE);
427
427
        lm_ssl_unref(ssl);
428
428
        return TRUE;
429
429
}