[Pkg-openssl-devel] Bug#573889: Bug#573889: libssl0.9.8: unknown message digest algorithm error in dovecot
Kurt Roeckx
kurt at roeckx.be
Mon Mar 22 20:39:54 UTC 2010
unmerge 573889
reassign 573748 postfix
reassign 573889 dovecot
thanks
On Sun, Mar 21, 2010 at 04:28:07PM +0100, Kurt Roeckx wrote:
> On Sun, Mar 21, 2010 at 04:18:34PM +0100, Richard van den Berg wrote:
> >
> > Thanks! Good to hear we're not crazy. :-) Any insights in the
> > why/where in the code? Or are you sending this upstream?
>
> I'm first trying get an idea of where it might go wrong.
So I contacted upstream about this. They pointed out that you're
using SHA256 while I was only using SHA1. They also suggested
checking that OpenSSL_add_all_algorithms() was called.
Neither postfix nor dovecot calls it. When I added the call to
postfix it fixed the problem.
I added it in tls_server.c just after the call to
OpenSSL_add_ssl_algorithms(). tls_client.c should
probably do the same.
dovecot calls SSL_library_init(), OpenSSL_add_ssl_algorithms() is a
define for SSL_library_init(). So adding the call in dovecot
after the SSL_library_init() should fix it too.
Kurt
More information about the Pkg-openssl-devel
mailing list