[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
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..
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
On Mon, 2007-06-11 at 10:51 -0500, David Favor wrote:
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.
I see it:
~/src/openssl-0.9.8e% grep SSL_CTX_set_info_callback **/*.h include/openssl/ssl.h:void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*cb)(const SSL *ssl,int type,int val)); ssl/ssl.h:void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*cb)(const SSL *ssl,int type,int val));
It's even in 0.9.7 as a macro.
Timo Sirainen wrote:
On Mon, 2007-06-11 at 10:51 -0500, David Favor wrote:
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.
I see it:
~/src/openssl-0.9.8e% grep SSL_CTX_set_info_callback **/*.h include/openssl/ssl.h:void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*cb)(const SSL *ssl,int type,int val)); ssl/ssl.h:void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*cb)(const SSL *ssl,int type,int val));
It's even in 0.9.7 as a macro.
Odd... I could only get a clean compile commenting this out.
-- Like feeling your best ever, all day, every day? Here's how... Your simple secrets are here - http://RadicalHealth.com
participants (2)
-
David Favor
-
Timo Sirainen