changeset 24449:5713cca010d5

Patch from 'db42' to enable MD5 auth on ICQ. Refs #4449. Before I merge this back to im.pidgin.pidgin I want to get a prompt in here to let the user fail over to the XOR method if MD5 fails. I suspect this won't be necessary though.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sat, 15 Nov 2008 21:29:38 +0000
parents 71c42ce1a1df
children a3c119fd31e3
files libpurple/protocols/oscar/family_auth.c libpurple/protocols/oscar/oscar.c
diffstat 2 files changed, 1 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/family_auth.c	Sat Nov 15 17:37:44 2008 +0000
+++ b/libpurple/protocols/oscar/family_auth.c	Sat Nov 15 21:29:38 2008 +0000
@@ -32,7 +32,7 @@
 
 #include <ctype.h>
 
-#define USE_XOR_FOR_ICQ
+/* #define USE_XOR_FOR_ICQ */
 
 #ifdef USE_XOR_FOR_ICQ
 /**
--- a/libpurple/protocols/oscar/oscar.c	Sat Nov 15 17:37:44 2008 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Sat Nov 15 21:29:38 2008 +0000
@@ -1142,15 +1142,7 @@
 	conn->watcher_incoming = purple_input_add(conn->fd,
 			PURPLE_INPUT_READ, flap_connection_recv_cb, conn);
 	if (conn->cookie == NULL)
-	{
-		if (!aim_snvalid_icq(purple_account_get_username(account)))
-			/*
-			 * We don't send this when authenticating an ICQ account
-			 * because for some reason ICQ is still using the
-			 * assy/insecure authentication procedure.
-			 */
 			flap_connection_send_version(od, conn);
-	}
 	else
 	{
 		flap_connection_send_version_with_cookie(od, conn,