summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2014-02-14 14:26:05 +0100
committermanuel <manuel@mausz.at>2014-02-14 14:26:05 +0100
commit27c3fccb483011713613758ef50d55eefe179e93 (patch)
treef591b9d8975c8e815caaa765d95f4d7d57dd1156
parent10740bbfefe68763b4f0d74b25a074e95a2e13e3 (diff)
downloadqmail-27c3fccb483011713613758ef50d55eefe179e93.tar.gz
qmail-27c3fccb483011713613758ef50d55eefe179e93.tar.bz2
qmail-27c3fccb483011713613758ef50d55eefe179e93.zip
export TLS-Session to environment
-rw-r--r--qmail-smtpd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/qmail-smtpd.c b/qmail-smtpd.c
index 8f0842b..3360cfe 100644
--- a/qmail-smtpd.c
+++ b/qmail-smtpd.c
@@ -1351,6 +1351,7 @@ void tls_init()
1351 ssl_free(myssl); tls_out("connection failed", err); die_read(); 1351 ssl_free(myssl); tls_out("connection failed", err); die_read();
1352 } 1352 }
1353 ssl = myssl; 1353 ssl = myssl;
1354 if (!env_put("SMTPSECURED=1")) die_nomem();
1354 1355
1355 /* populate the protocol string, used in Received */ 1356 /* populate the protocol string, used in Received */
1356 if (!stralloc_copys(&proto, "ESMTPS (") 1357 if (!stralloc_copys(&proto, "ESMTPS (")