[dovecot-cvs] dovecot/src/lib sha1.h,1.4,1.5

tss at dovecot.org tss at dovecot.org
Fri Oct 13 23:36:24 UTC 2006


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv5671

Modified Files:
	sha1.h 
Log Message:
Let's be nice and work with older libmysqlclient libraries.



Index: sha1.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/sha1.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- sha1.h	15 Sep 2004 13:19:47 -0000	1.4
+++ sha1.h	13 Oct 2006 22:36:20 -0000	1.5
@@ -38,6 +38,12 @@
 #ifndef __SHA1_H
 #define __SHA1_H
 
+/* libmysqlclient really should try to keep its internal stuff internal so
+   they won't conflict with the actual programs that are trying to use it.
+   This particular instance has been fixed in 4.1.18 and 5.0.19, but there
+   are others. */
+#define sha1_result(a, b) sha1_result_libmysqlclient_craps_all_over(a, b)
+
 struct sha1_ctxt {
 	union {
 		uint8_t	b8[20];



More information about the dovecot-cvs mailing list