]> git.ipfire.org Git - thirdparty/postfix.git/commitdiff
postfix-2.9-20110213
authorWietse Venema <wietse@porcupine.org>
Sun, 13 Feb 2011 05:00:00 +0000 (00:00 -0500)
committerViktor Dukhovni <viktor@dukhovni.org>
Tue, 5 Feb 2013 06:37:12 +0000 (06:37 +0000)
postfix/HISTORY
postfix/src/global/mail_version.h
postfix/src/tls/tls_client.c

index 5c62a02faea7855546265af3a7593f5cfc74c815..6833bcadc97464e33a82b149aa5690f1e00cb2cc 100644 (file)
@@ -16591,3 +16591,13 @@ Apologies for any names omitted.
        and smtp_per_record_deadline (default: "no").  Files:
        global/mail_params.h, smtpd/smtpd.c, smtp/smtp.c,
        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.
index 6fdbc0590366ce1b1b4632f62097dadaea72b6cc..4e568e835218475cf8c5513833b5a13a0d8494b6 100644 (file)
@@ -20,7 +20,7 @@
   * Patches change both the patchlevel and the release date. Snapshots have no
   * patchlevel; they change the release date only.
   */
-#define MAIL_RELEASE_DATE      "20110212"
+#define MAIL_RELEASE_DATE      "20110213"
 #define MAIL_VERSION_NUMBER    "2.9"
 
 #ifdef SNAPSHOT
index 79a7d44b5e4b091bcf220aa405ae0456f0d124f9..795ba7d70ed032d09a74196f5ae14c269b1ff08a 100644 (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->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()");