diff src/protocols/yahoo/yahoo.c @ 9382:37fd8a10f5fa

[gaim-migrate @ 10190] oh dot seventy nine committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 24 Jun 2004 23:08:30 +0000
parents 3aa848ccf986
children 01fe2254c570
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Thu Jun 24 22:22:22 2004 +0000
+++ b/src/protocols/yahoo/yahoo.c	Thu Jun 24 23:08:30 2004 +0000
@@ -1496,6 +1496,8 @@
 	 */
 	
 	shaUpdate(&ctx1, pass_hash_xor1, 64);
+	if (y >= 3)
+		ctx1.sizeLo = 0x1ff;
 	shaUpdate(&ctx1, magic_key_char, 4);
 	shaFinal(&ctx1, digest1);
 	
@@ -1587,6 +1589,8 @@
 	 */
 	
 	shaUpdate(&ctx1, crypt_hash_xor1, 64);
+	if (y >= 3)
+		ctx1.sizeLo = 0x1ff;
 	shaUpdate(&ctx1, magic_key_char, 4);
 	shaFinal(&ctx1, digest1);