From ab9210fcd3d354cf2759b37a55896cdb020f03d4 Mon Sep 17 00:00:00 2001 From: Paul Aurich Date: Wed, 28 Jan 2009 03:40:55 +0000 Subject: 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. --- libpurple/protocols/oscar/oscar.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libpurple/protocols/oscar/oscar.c b/libpurple/protocols/oscar/oscar.c index b45bd9a570..d8f7b1217c 100644 --- a/libpurple/protocols/oscar/oscar.c +++ b/libpurple/protocols/oscar/oscar.c @@ -1691,9 +1691,13 @@ purple_parse_auth_resp(OscarData *od, FlapConnection *conn, FlapFrame *fr, ...) 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 { -- cgit v1.2.1