Re: [exim] DKIM - signing mail

Pàgina inicial
Delete this message
Reply to this message
Autor: Odhiambo Washington
Data:  
A: Tom Kistner
CC: exim users, Zbigniew Szalbot
Assumpte: Re: [exim] DKIM - signing mail
On Wed, Apr 2, 2008 at 2:54 PM, Tom Kistner <tom@???> wrote:
> Odhiambo Washington schrieb:
>
>
>
> > g++ -c -c dkimsign.cpp
> > dkimsign.cpp: In constructor `CDKIMSign::CDKIMSign()':
> > dkimsign.cpp:33: error: `EVP_sha256' was not declared in this scope
> > *** Error code 1
> >
> > However, it compiles on FreeBSD 7.0-STABLE.
> >
> > Tom, please shed some light on this for us.
> >
>
>
> 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 (?).
>
> However, thanks to OpenSSLs ever changing API, you either
>
> - need to upgrade OpenSSL to a more recent version
> OR
> - change the cast on line 1199 in dkimverify.cpp to (unsigned char **)
> instead of (const unsigned char **).
>
> /tom
>


Hi Tom,

This new version fails as well on FreeBSD 6.3-STABLE, even if I change
that line 1199:

[wash@spamfilter ~/Administration/DKIM/libdkim-1.0.16-tk/src]$ openssl version
OpenSSL 0.9.7e-p1 25 Oct 2004

<cut>
g++ -c -DOPENSSL_FIPS -c dkim.cpp
g++ -c -DOPENSSL_FIPS -c dns.cpp
g++ -c -DOPENSSL_FIPS -c dkimbase.cpp
g++ -c -DOPENSSL_FIPS -c dkimsign.cpp
dkimsign.cpp: In constructor `CDKIMSign::CDKIMSign()':
dkimsign.cpp:33: error: `EVP_sha256' was not declared in this scope
gmake: *** [dkimsign.o] Error 1
</cut>

In FreeBSD 7.0-STABLE where there is no failure, the openssl version is 0.9.8e.


--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

"Oh My God! They killed init! You Bastards!"
--from a /. post