Re: [exim] DKIM - signing mail

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Renaud Allard
日付:  
To: exim-users
CC: Exim-users, Tom Kistner
題目: Re: [exim] DKIM - signing mail


exim-users@??? wrote:

> openssl creates 2 libraries: libssl and libcrypto. The first one
> implements the ssl/tls protocol, the latter one the various crypto
> algorithms. Since dkim just needs some crypto algorithms for creating
> and verifying signatures, I'd expect it to pull them out of libcrypto.
> libssl is not interesting in this context. So you should rather check
> your libcrypto for the EVP_sha256 symbol.
>


True, there is an sha256 there.

# strings /usr/lib/libcrypto.so.13.0 | grep sha256
sha256WithRSAEncryption
sha256

But not EVP_sha256.

If I have a more detailed look at evp.h
#ifndef OPENSSL_NO_SHA256
const EVP_MD *EVP_sha224(void);
const EVP_MD *EVP_sha256(void);
#endif

NO_SHA256 doesn't seem to be defined anywhere

Also, SHA256 is in libc...

So I think this is an OpenBSD specific problem.