Mercurial > pidgin
changeset 18998:3273fa6a52a8
(this revision will be disapproved)
- sslconn temporarily uses tls_cached verifier
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Sun, 08 Jul 2007 01:51:50 +0000 |
parents | 90d8d8bb395a |
children | 7fbd0a6ac8d6 |
files | libpurple/sslconn.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/sslconn.c Sun Jul 08 01:37:37 2007 +0000 +++ b/libpurple/sslconn.c Sun Jul 08 01:51:50 2007 +0000 @@ -118,6 +118,9 @@ gsc->connect_cb = func; gsc->error_cb = error_func; + /* TODO: Move this elsewhere */ + gsc->verifier = purple_certificate_find_verifier("x509","tls_cached"); + gsc->connect_data = purple_proxy_connect(NULL, account, host, port, purple_ssl_connect_cb, gsc); if (gsc->connect_data == NULL) @@ -206,6 +209,10 @@ if(host) gsc->host = g_strdup(host); + /* TODO: Move this elsewhere */ + gsc->verifier = purple_certificate_find_verifier("x509","tls_cached"); + + ops = purple_ssl_get_ops(); ops->connectfunc(gsc);