David Favor
2007-Jun-11 14:13 UTC
[Dovecot] SSL_CTX_set_info_callback problem in latest source
In the file ./src/login-common/ssl-proxy-openssl.c appears the code: if (verbose_ssl) SSL_CTX_set_info_callback(ssl_ctx, ssl_info_callback); It appears the SSL_CTX_set_info_callback symbol only occurs in the openssl development branch starting with 0x00909000L as this symbol is missing from openssl 0.9.8b and 0.9.8e (no check of the latest nightly snapshot of the stable 0.9.8 branch). It appears there should be a compilation guard around this code. Perhaps... #if OPENSSL_VERSION_NUMBER >= 0x00909000L if (verbose_ssl) SSL_CTX_set_info_callback(ssl_ctx, ssl_info_callback); #endif -- Like feeling your best ever, all day, every day? Here's how... Your simple secrets are here - http://RadicalHealth.com
Timo Sirainen
2007-Jun-11 15:18 UTC
[Dovecot] SSL_CTX_set_info_callback problem in latest source
On Mon, 2007-06-11 at 09:13 -0500, David Favor wrote:> In the file ./src/login-common/ssl-proxy-openssl.c appears the code: > > if (verbose_ssl) > SSL_CTX_set_info_callback(ssl_ctx, ssl_info_callback); > > It appears the SSL_CTX_set_info_callback symbol only occurs in the > openssl development branch starting with 0x00909000L as this symbol > is missing from openssl 0.9.8b and 0.9.8e (no check of the latest > nightly snapshot of the stable 0.9.8 branch).Hmm. It's in Debian's 0.9.8e-5 version at least. And google shows that it's been used in Exim for a while also.. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070611/67e6dcad/attachment-0002.bin>
David Favor
2007-Jun-11 15:51 UTC
[Dovecot] SSL_CTX_set_info_callback problem in latest source
Timo Sirainen wrote:> On Mon, 2007-06-11 at 09:13 -0500, David Favor wrote: >> In the file ./src/login-common/ssl-proxy-openssl.c appears the code: >> >> if (verbose_ssl) >> SSL_CTX_set_info_callback(ssl_ctx, ssl_info_callback); >> >> It appears the SSL_CTX_set_info_callback symbol only occurs in the >> openssl development branch starting with 0x00909000L as this symbol >> is missing from openssl 0.9.8b and 0.9.8e (no check of the latest >> nightly snapshot of the stable 0.9.8 branch). > > Hmm. It's in Debian's 0.9.8e-5 version at least. And google shows that > it's been used in Exim for a while also..It's missing from 0.9.8b (latest openssl level on Fedora 6) and it's missing from the 0.9.8e source from openssl.org. -- Like feeling your best ever, all day, every day? Here's how... Your simple secrets are here - http://RadicalHealth.com