pidgin: 06e774c0: Fix compilation on glib < 2.16. Somehow...

markdoliner at pidgin.im markdoliner at pidgin.im
Mon Feb 21 23:50:41 EST 2011


----------------------------------------------------------------------
Revision: 06e774c0ba90c7cb6ce1c2299d19bb31c24fab05
Parent:   e4546fa88606ad39b1926afe342cdda4b92a2451
Author:   markdoliner at pidgin.im
Date:     02/21/11 23:45:54
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/06e774c0ba90c7cb6ce1c2299d19bb31c24fab05

Changelog: 

Fix compilation on glib < 2.16.  Somehow a trailing semicolon got lost.
Also remove an extra tab on the following line.

Changes against parent e4546fa88606ad39b1926afe342cdda4b92a2451

  patched  libpurple/ciphers/sha1.c

-------------- next part --------------
============================================================
--- libpurple/ciphers/sha1.c	6598bf9c2f7f7d2fad7d5cff4cfb9fd5c97b9f32
+++ libpurple/ciphers/sha1.c	cea9ae53aa909fdf7397d2cefc52e3e9c411f7ac
@@ -81,8 +81,8 @@ sha1_hash_block(struct SHA1Context *sha1
 	}
 
 	for(i = 40; i < 60; i++) {
-		T = (SHA1_ROTL(A, 5) + ((B & C) | (D & (B | C))) + E + sha1_ctx->W[i] + 0x8F1BBCDC) & 0xFFFFFFFF
-			E = D;
+		T = (SHA1_ROTL(A, 5) + ((B & C) | (D & (B | C))) + E + sha1_ctx->W[i] + 0x8F1BBCDC) & 0xFFFFFFFF;
+		E = D;
 		D = C;
 		C = SHA1_ROTL(B, 30);
 		B = A;


More information about the Commits mailing list