[Dovecot] SSL_CTX_set_info_callback problem in latest source

David Favor david at davidfavor.com
Mon Jun 11 17:13:23 EEST 2007


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


More information about the dovecot mailing list