Ralf Hildebrandt:
> This seems to be TLS related, since it happens whenever TLS is being
> used.

Here is a patch. This part of the TLS library still needs to be
restructured.  There is redundancy in the internal APIs:  multiple
function arguments propagate the same information, and that same
information is maintained by different functions, so things got
out of step when code was updated yesterday.

        Wietse

diff -cr /var/tmp/postfix-2.9-20110212/src/tls/tls_client.c 
./src/tls/tls_client.c
*** /var/tmp/postfix-2.9-20110212/src/tls/tls_client.c  Thu Dec 30 18:02:03 2010
--- ./src/tls/tls_client.c      Sun Feb 13 08:38:18 2011
***************
*** 795,800 ****
--- 795,801 ----
      TLScontext->cache_type = app_ctx->cache_type;
  
      TLScontext->serverid = vstring_export(myserverid);
+     TLScontext->stream = props->stream;
  
      if ((TLScontext->con = SSL_new(app_ctx->ssl_ctx)) == NULL) {
        msg_warn("Could not allocate 'TLScontext->con' with SSL_new()");

Reply via email to