[ekg2-commit] ekg2: digest.c (HEAD) [peres]

CVS commit cvs w toxygen.net
Czw, 3 Maj 2007, 11:50:39 CEST


Module name:	ekg2
Changes by:	peres	2007-05-03 11:50:37

Modified files:
	digest.c

Log message:
The real Tlen fix, not workaround.

Index: digest.c
===================================================================
RCS file: /home/cvs/ekg2/plugins/jabber/digest.c,v
diff -d -u -r1.20 -r1.21
--- digest.c	2 May 2007 22:00:28 -0000	1.20
+++ digest.c	3 May 2007 09:50:37 -0000	1.21
@@ -490,7 +490,7 @@
 	xfree(tmp);
 
 	tmp = ekg_convert_string_p(password, charset);
-	SHA1Update(&ctx, (tmp ? tmp : password), xstrlen(tmp ? tmp : sid));
+	SHA1Update(&ctx, (tmp ? tmp : password), xstrlen(tmp ? tmp : password));
 	xfree(tmp);
 
 	SHA1Final(digest, &ctx);


Więcej informacji o liście dyskusyjnej ekg2-commit