# HG changeset patch # User Paul Aurich # Date 1233114055 0 # Node ID 86946237b2844e81d162ce07b21013a196975830 # Parent f6ef3a9534db09950b6ea19f179a882cd4e22f16 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 f6ef3a9534db -r 86946237b284 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 {