2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-29 13:18:12 +00:00

postfix-2.9-20110213

This commit is contained in:
Wietse Venema 2011-02-13 00:00:00 -05:00 committed by Viktor Dukhovni
parent 1b9ba18ece
commit 87689ec01f
3 changed files with 12 additions and 1 deletions

View File

@ -16591,3 +16591,13 @@ Apologies for any names omitted.
and smtp_per_record_deadline (default: "no"). Files: and smtp_per_record_deadline (default: "no"). Files:
global/mail_params.h, smtpd/smtpd.c, smtp/smtp.c, global/mail_params.h, smtpd/smtpd.c, smtp/smtp.c,
smtp/smtp_proto.c, proto/postconf.proto, mantools/postlink. smtp/smtp_proto.c, proto/postconf.proto, mantools/postlink.
20110213
Workaround (problem introduced with Postfix TLS patch): the
TLS library passes the same information via different
function arguments, and this same information is maintained
by different functions, so things get out of step when code
is updated. As of 20110212, tls_client_start() needs to set
the VSTREAM property of the TLS session object. File:
tls/tls_client.c.

View File

@ -20,7 +20,7 @@
* Patches change both the patchlevel and the release date. Snapshots have no * Patches change both the patchlevel and the release date. Snapshots have no
* patchlevel; they change the release date only. * patchlevel; they change the release date only.
*/ */
#define MAIL_RELEASE_DATE "20110212" #define MAIL_RELEASE_DATE "20110213"
#define MAIL_VERSION_NUMBER "2.9" #define MAIL_VERSION_NUMBER "2.9"
#ifdef SNAPSHOT #ifdef SNAPSHOT

View File

@ -795,6 +795,7 @@ TLS_SESS_STATE *tls_client_start(const TLS_CLIENT_START_PROPS *props)
TLScontext->cache_type = app_ctx->cache_type; TLScontext->cache_type = app_ctx->cache_type;
TLScontext->serverid = vstring_export(myserverid); TLScontext->serverid = vstring_export(myserverid);
TLScontext->stream = props->stream;
if ((TLScontext->con = SSL_new(app_ctx->ssl_ctx)) == NULL) { if ((TLScontext->con = SSL_new(app_ctx->ssl_ctx)) == NULL) {
msg_warn("Could not allocate 'TLScontext->con' with SSL_new()"); msg_warn("Could not allocate 'TLScontext->con' with SSL_new()");