# HG changeset patch # User Paul Aurich # Date 1233114055 0 # Node ID f7e939fc0d6af4e45fef337fd0a339083d6ee8bc # Parent d15507b37c1a5e806514beb3439180fb24e626cf 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. diff -r d15507b37c1a -r f7e939fc0d6a libpurple/protocols/oscar/oscar.c --- a/libpurple/protocols/oscar/oscar.c Tue Jan 27 10:00:32 2009 +0000 +++ b/libpurple/protocols/oscar/oscar.c Wed Jan 28 03:40:55 2009 +0000 @@ -1691,9 +1691,13 @@ if (od->use_ssl) { - newconn->gsc = purple_ssl_connect(account, host, port, - ssl_connection_established_cb, ssl_connection_error_cb, - newconn); + /* + * This shouldn't be hardcoded except that the server isn't sending + * us a name to use for comparing the certificate common name. + */ + newconn->ssl_cert_cn = g_strdup("bos.oscar.aol.com"); + newconn->connect_data = purple_proxy_connect(NULL, account, host, port, + ssl_proxy_conn_established_cb, newconn); } else {