Re: [exim] DKIM - signing mail

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Renaud Allard
Datum:  
To: Tom Kistner
CC: exim users, Zbigniew Szalbot, Odhiambo Washington
Betreff: Re: [exim] DKIM - signing mail


Tom Kistner wrote:

> Grab this version:
>
> http://duncanthrax.net/exim-experimental/libdkim-1.0.16-tk.tar.gz
>
> This does:
>
> o Add -DOPENSSL_FIPS to CFLAGS (so we can have sha256 support in earlier
> OpenSSL versions)
> o Fix a bunch of missing casts that were lethal with OpenBSDs picky
> special gcc version (?).
>


I tried to compile exim-4.69 with libdkim on OpenBSD 4.3, but it
produced about the same error as libdkim before:

gcc -o exim
acl.o(.text+0x639): In function `acl_check_internal':
: warning: strcpy() is almost always misused, please use strlcpy()
daemon.o(.text+0xf5e): In function `daemon_go':
: warning: sprintf() is often misused, please use snprintf()
filter.o(.text+0x3cb6): In function `read_command':
: warning: strcat() is almost always misused, please use strlcat()
/usr/local/lib/libdkim.a(dkimsign.o)(.text+0x103): In function
`CDKIMSign::CDKIMSign[not-in-charge]()':
: undefined reference to `EVP_sha256'
/usr/local/lib/libdkim.a(dkimsign.o)(.text+0x130): In function
`CDKIMSign::CDKIMSign[not-in-charge]()':
: undefined reference to `EVP_sha256'
/usr/local/lib/libdkim.a(dkimsign.o)(.text+0x3a1): In function
`CDKIMSign::CDKIMSign[in-charge]()':
: undefined reference to `EVP_sha256'
/usr/local/lib/libdkim.a(dkimsign.o)(.text+0x3ce): In function
`CDKIMSign::CDKIMSign[in-charge]()':
: undefined reference to `EVP_sha256'
/usr/local/lib/libdkim.a(dkimverify.o)(.text+0x2385): In function
`CDKIMVerify::ProcessHeaders()':
: undefined reference to `EVP_sha256'
/usr/local/lib/libdkim.a(dkimverify.o)(.text+0x239d): more undefined
references to `EVP_sha256' follow
collect2: ld returned 1 exit status
*** Error code 1


My exim Makefile contains:
EXPERIMENTAL_DKIM=yes
LDFLAGS += -ldkim -lssl -lstdc++
CFLAGS += -DOPENSSL_FIPS