--- a/src/protocols/oscar/auth.c Sat Apr 02 21:04:36 2005 -0500
+++ b/src/protocols/oscar/auth.c Sat Apr 02 21:12:09 2005 -0500
@@ -219,7 +219,7 @@
/* If we're signing on an ICQ account then use the older, XOR login method */
- if (0 && isdigit(sn[0]))
return goddamnicq2(sess, conn, sn, password, ci);
if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 1152)))
@@ -230,19 +230,7 @@
aim_tlvlist_add_raw(&tl, 0x0001, strlen(sn), sn);
- /* Truncated ICQ passwords, if necessary */
- if (isdigit(sn[0]) && (strlen(password) > MAXICQPASSLEN))
- char truncated[MAXICQPASSLEN + 1];
- strncpy(truncated, password, MAXICQPASSLEN);
- truncated[MAXICQPASSLEN] = 0;
- aim_encode_password_md5(truncated, key, digest);
- aim_encode_password_md5(password, key, digest);
+ aim_encode_password_md5(password, key, digest); aim_tlvlist_add_raw(&tl, 0x0025, 16, digest);
@@ -475,7 +463,7 @@
if (!sess || !conn || !sn)
- if (0 && isdigit(sn[0]))
return goddamnicq(sess, conn, sn);
aim_sendflapver(sess, conn);