diff options
Diffstat (limited to 'kde-base/kdenetwork/files/yahoo-fix-connect-062404.patch')
-rw-r--r-- | kde-base/kdenetwork/files/yahoo-fix-connect-062404.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/kde-base/kdenetwork/files/yahoo-fix-connect-062404.patch b/kde-base/kdenetwork/files/yahoo-fix-connect-062404.patch new file mode 100644 index 000000000000..d7f04e50ed79 --- /dev/null +++ b/kde-base/kdenetwork/files/yahoo-fix-connect-062404.patch @@ -0,0 +1,44 @@ +? yahoo-fix-connect-062404.patch +Index: libyahoo2.c +=================================================================== +RCS file: /home/kde/kdenetwork/kopete/protocols/yahoo/libyahoo2/libyahoo2.c,v +retrieving revision 1.18 +retrieving revision 1.18.2.3 +diff -u -p -r1.18 -r1.18.2.3 +--- libyahoo2.c 14 Jan 2004 02:07:29 -0000 1.18 ++++ 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); + +Index: yahoo_fn.c +=================================================================== +RCS file: /home/kde/kdenetwork/kopete/protocols/yahoo/libyahoo2/Attic/yahoo_fn.c,v +retrieving revision 1.1.2.1 +retrieving revision 1.1.2.3 +diff -u -p -r1.1.2.1 -r1.1.2.3 +--- yahoo_fn.c 18 Jan 2004 20:03:39 -0000 1.1.2.1 ++++ yahoo_fn.c 26 Jun 2004 00:37:08 -0000 1.1.2.3 +@@ -4386,7 +4386,7 @@ struct yahoo_fn yahoo_fntable[5][96] = + { XOR, 0x77D64B90, 0 }, + { BITFLD, (long)table_103, 0 }, + { LOOKUP, (long)table_104, 0 }, +- { MULADD, 0x7D1428CB, 0x89F6853D }, ++ { MULADD, 0x7D1428CB, 0x3D }, + { XOR, 0x6F872C49, 0 }, + { XOR, 0x2E484655, 0 }, + { MULADD, 0x1E3349F7, 0x41F5 }, |