[dovecot-cvs] dovecot/src/lib sha1.h,1.4,1.4.2.1
tss at dovecot.org
tss at dovecot.org
Fri Oct 13 23:36:21 UTC 2006
Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv5677
Modified Files:
Tag: branch_1_0
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.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- sha1.h 15 Sep 2004 13:19:47 -0000 1.4
+++ sha1.h 13 Oct 2006 22:36:19 -0000 1.4.2.1
@@ -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