summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hanselmann <hansmi@gentoo.org>2005-01-04 22:16:05 +0000
committerMichael Hanselmann <hansmi@gentoo.org>2005-01-04 22:16:05 +0000
commitf6b33c7c61f63ed4f85c1973a3f8d70004240955 (patch)
tree5937573b5463b59fec128a3c043886f9dd08b9b8 /mail-mta/qmail/files
parentversion bump (diff)
downloadhistorical-f6b33c7c61f63ed4f85c1973a3f8d70004240955.tar.gz
historical-f6b33c7c61f63ed4f85c1973a3f8d70004240955.tar.bz2
historical-f6b33c7c61f63ed4f85c1973a3f8d70004240955.zip
Fixed bug 40010.
Diffstat (limited to 'mail-mta/qmail/files')
-rw-r--r--mail-mta/qmail/files/1.03-r15/tlsbeforeauth-fix.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/mail-mta/qmail/files/1.03-r15/tlsbeforeauth-fix.patch b/mail-mta/qmail/files/1.03-r15/tlsbeforeauth-fix.patch
new file mode 100644
index 000000000000..c7e8c21afb52
--- /dev/null
+++ b/mail-mta/qmail/files/1.03-r15/tlsbeforeauth-fix.patch
@@ -0,0 +1,39 @@
+diff -Nur qmail-1.03.orig/qmail-smtpd.c qmail-1.03/qmail-smtpd.c
+--- qmail-1.03.orig/qmail-smtpd.c 2004-01-30 21:32:02.923302000 +0100
++++ qmail-1.03/qmail-smtpd.c 2004-01-30 21:32:16.412351168 +0100
+@@ -563,7 +563,7 @@
+ if (!ssl) out("\r\n250-STARTTLS");
+ #endif //TLS
+
+-#ifdef TLS && TLS_BEFORE_AUTH
++#if defined(TLS) && defined(TLS_BEFORE_AUTH)
+ if(ssl) smtp_authout();
+ #else // TLS && TLS_BEFORE_AUTH
+ smtp_authout();
+@@ -1019,7 +1019,7 @@
+ {
+ int r;
+
+-#ifdef TLS && TLS_BEFORE_AUTH
++#if defined(TLS) && defined(TLS_BEFORE_AUTH)
+ if (!ssl) return err_wantstarttls();
+ #endif
+ if (*arg) {
+@@ -1046,7 +1046,7 @@
+ {
+ int r, id = 0;
+
+-#ifdef TLS && TLS_BEFORE_AUTH
++#if defined(TLS) && defined(TLS_BEFORE_AUTH)
+ if (!ssl) return err_wantstarttls();
+ #endif
+ if (*arg) {
+@@ -1075,7 +1075,7 @@
+ int i, r;
+ char *s;
+
+-#ifdef TLS && TLS_BEFORE_AUTH
++#if defined(TLS) && defined(TLS_BEFORE_AUTH)
+ if (!ssl) return err_wantstarttls();
+ #endif
+