Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/oscar.c @ 25023:86946237b284
Use 'bos.oscar.aol.com' as the common name for the initial BOS connection.
The redirect from the login server to first BOS server doesn't include the
magic TLV with a name to use for comparison; I missed this because I cached
all those certificates before I fixed the code for the other SNAC family
servers.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Wed, 28 Jan 2009 03:40:55 +0000 |
parents | f6ef3a9534db |
children | 29f953732186 |
comparison
equal
deleted
inserted
replaced
25022:f6ef3a9534db | 25023:86946237b284 |
---|---|
1689 newconn->cookielen = info->cookielen; | 1689 newconn->cookielen = info->cookielen; |
1690 newconn->cookie = g_memdup(info->cookie, info->cookielen); | 1690 newconn->cookie = g_memdup(info->cookie, info->cookielen); |
1691 | 1691 |
1692 if (od->use_ssl) | 1692 if (od->use_ssl) |
1693 { | 1693 { |
1694 newconn->gsc = purple_ssl_connect(account, host, port, | 1694 /* |
1695 ssl_connection_established_cb, ssl_connection_error_cb, | 1695 * This shouldn't be hardcoded except that the server isn't sending |
1696 newconn); | 1696 * us a name to use for comparing the certificate common name. |
1697 */ | |
1698 newconn->ssl_cert_cn = g_strdup("bos.oscar.aol.com"); | |
1699 newconn->connect_data = purple_proxy_connect(NULL, account, host, port, | |
1700 ssl_proxy_conn_established_cb, newconn); | |
1697 } | 1701 } |
1698 else | 1702 else |
1699 { | 1703 { |
1700 newconn->connect_data = purple_proxy_connect(NULL, account, host, port, | 1704 newconn->connect_data = purple_proxy_connect(NULL, account, host, port, |
1701 connection_established_cb, newconn); | 1705 connection_established_cb, newconn); |