1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Fix Yahoo! messenger protocol support in kopete.

Obtained from: KDE CVS / Matt Rogers / Andy Fawcett
This commit is contained in:
Michael Nottebrock 2004-06-26 09:42:53 +00:00
parent 2fa71e5cce
commit b3cefb63d8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=112310
6 changed files with 78 additions and 0 deletions

View File

@ -8,6 +8,7 @@
PORTNAME= kdenetwork
PORTVERSION= ${KDE_VERSION}
PORTREVISION= 1
CATEGORIES?= net kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src

View File

@ -0,0 +1,19 @@
--- kopete/protocols/yahoo/libyahoo2/libyahoo2.c 14 Jan 2004 02:07:29 -0000 1.18
+++ kopete/protocols/yahoo/libyahoo2/libyahoo2.c 26 Jun 2004 00:37:08 -0000 1.18.2.3
@@ -1816,6 +1816,8 @@ static void yahoo_process_auth_0x0b(stru
* challenge. */
shaUpdate(&ctx1, pass_hash_xor1, 64);
+ if (j >= 3 )
+ ctx1.sizeLo = 0x1ff;
shaUpdate(&ctx1, magic_key_char, 4);
shaFinal(&ctx1, digest1);
@@ -1905,6 +1907,8 @@ static void yahoo_process_auth_0x0b(stru
* challenge. */
shaUpdate(&ctx1, crypt_hash_xor1, 64);
+ if (j >= 3 )
+ ctx1.sizeLo = 0x1ff;
shaUpdate(&ctx1, magic_key_char, 4);
shaFinal(&ctx1, digest1);

View File

@ -0,0 +1,19 @@
--- kopete/protocols/yahoo/libyahoo2/libyahoo2.c 14 Jan 2004 02:07:29 -0000 1.18
+++ kopete/protocols/yahoo/libyahoo2/libyahoo2.c 26 Jun 2004 00:37:08 -0000 1.18.2.3
@@ -1816,6 +1816,8 @@ static void yahoo_process_auth_0x0b(stru
* challenge. */
shaUpdate(&ctx1, pass_hash_xor1, 64);
+ if (j >= 3 )
+ ctx1.sizeLo = 0x1ff;
shaUpdate(&ctx1, magic_key_char, 4);
shaFinal(&ctx1, digest1);
@@ -1905,6 +1907,8 @@ static void yahoo_process_auth_0x0b(stru
* challenge. */
shaUpdate(&ctx1, crypt_hash_xor1, 64);
+ if (j >= 3 )
+ ctx1.sizeLo = 0x1ff;
shaUpdate(&ctx1, magic_key_char, 4);
shaFinal(&ctx1, digest1);

View File

@ -8,6 +8,7 @@
PORTNAME= kdenetwork
PORTVERSION= ${KDE_VERSION}
PORTREVISION= 1
CATEGORIES?= net kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src

View File

@ -0,0 +1,19 @@
--- kopete/protocols/yahoo/libyahoo2/libyahoo2.c 14 Jan 2004 02:07:29 -0000 1.18
+++ kopete/protocols/yahoo/libyahoo2/libyahoo2.c 26 Jun 2004 00:37:08 -0000 1.18.2.3
@@ -1816,6 +1816,8 @@ static void yahoo_process_auth_0x0b(stru
* challenge. */
shaUpdate(&ctx1, pass_hash_xor1, 64);
+ if (j >= 3 )
+ ctx1.sizeLo = 0x1ff;
shaUpdate(&ctx1, magic_key_char, 4);
shaFinal(&ctx1, digest1);
@@ -1905,6 +1907,8 @@ static void yahoo_process_auth_0x0b(stru
* challenge. */
shaUpdate(&ctx1, crypt_hash_xor1, 64);
+ if (j >= 3 )
+ ctx1.sizeLo = 0x1ff;
shaUpdate(&ctx1, magic_key_char, 4);
shaFinal(&ctx1, digest1);

View File

@ -0,0 +1,19 @@
--- kopete/protocols/yahoo/libyahoo2/libyahoo2.c 14 Jan 2004 02:07:29 -0000 1.18
+++ kopete/protocols/yahoo/libyahoo2/libyahoo2.c 26 Jun 2004 00:37:08 -0000 1.18.2.3
@@ -1816,6 +1816,8 @@ static void yahoo_process_auth_0x0b(stru
* challenge. */
shaUpdate(&ctx1, pass_hash_xor1, 64);
+ if (j >= 3 )
+ ctx1.sizeLo = 0x1ff;
shaUpdate(&ctx1, magic_key_char, 4);
shaFinal(&ctx1, digest1);
@@ -1905,6 +1907,8 @@ static void yahoo_process_auth_0x0b(stru
* challenge. */
shaUpdate(&ctx1, crypt_hash_xor1, 64);
+ if (j >= 3 )
+ ctx1.sizeLo = 0x1ff;
shaUpdate(&ctx1, magic_key_char, 4);
shaFinal(&ctx1, digest1);