aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-09-24 13:57:45 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-09-24 13:57:45 +0200
commit42127dcd26be4f6746004237eac5333ffbb94f8e (patch)
tree61b1334e1d963cbb6383a9f5e5452605e6710ac4 /protocols/jabber/jabber.c
parent172a73f1a4b37fa20d1d50496a3faccb8fe6c769 (diff)
Added support for SSL- and TLS-connections. Checking of the "tls" user
setting has to be finished, plus an ssl_starttls() function for the other SSL libraries (this code will only compile with GnuTLS for now).
Diffstat (limited to 'protocols/jabber/jabber.c')
-rw-r--r--protocols/jabber/jabber.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c
index ee26a007..a337dd68 100644
--- a/protocols/jabber/jabber.c
+++ b/protocols/jabber/jabber.c
@@ -79,8 +79,8 @@ static void jabber_login( account_t *acc )
if( set_getbool( &acc->set, "ssl" ) )
{
- signoff( gc );
- /* TODO! */
+ jd->ssl = ssl_connect( jd->server, set_getint( &acc->set, "port" ), jabber_connected_ssl, gc );
+ jd->fd = ssl_getfd( jd->ssl );
}
else
{