Re: [exim-dev] DKIM support

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Magnus Holmgren
Datum:  
To: exim-dev
Betreff: Re: [exim-dev] DKIM support
On fredagen den 28 september 2007, Tom Kistner wrote:
> Magnus Holmgren wrote:
> > Debian users can install libdkim0 and specify just
> >
> > EXPERIMENTAL_DKIM=yes
> > LDFLAGS += -ldkim
> >
> > ... I hope. How much did you fork it?
>
> I added two items to the struct it returns for verification details, so
> I'm afraid this will not work. Yet. I'll see if I can work with Alt-N to
> get these (and more) changes incorporated into mainline libdkim.


Good luck, by the way. I complained about the windowsisms and the broken
Makefile in February, and still haven't got any response.

This is the patch I use:

--- libdkim-1.0.14.orig/src/dkim.h
+++ libdkim-1.0.14/src/dkim.h
@@ -18,7 +18,12 @@
 #ifdef WIN32 
 #define DKIM_CALL    WINAPI 
 #else 
+#include <inttypes.h> 
 #define DKIM_CALL 
+#define MAKELONG(low,high) \ 
+  ((uint32_t)(((uint16_t)(low))|((uint32_t)(((uint16_t)(high))<<16)))) 
+#define HIWORD(l)   ((uint16_t) (((uint32_t) (l) >> 16) & 0xFFFF)) 
+#define LOWORD(l)   ((uint16_t) (l)) 
 #endif 



-------------EOF--------------

(It's probably broken due to the CRs in their files.)

-- 
Magnus Holmgren        holmgren@???