]> git.ipfire.org Git - people/ms/dma.git/commitdiff
drop 25-unsupported-starttls.patch: already applied
authorSimon Schubert <2@0x2c.org>
Thu, 28 Oct 2010 20:58:30 +0000 (22:58 +0200)
committerSimon Schubert <2@0x2c.org>
Thu, 28 Oct 2010 20:58:30 +0000 (22:58 +0200)
debian/patches/25-unsupported-starttls.patch [deleted file]

diff --git a/debian/patches/25-unsupported-starttls.patch b/debian/patches/25-unsupported-starttls.patch
deleted file mode 100644 (file)
index cb34484..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-Description: Fix a crash when the SMTP server does not support STARTTLS.
-Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/
-Bug-Debian: http://bugs.debian.org/547594
-Forwarded: yes
-Author: Peter Pentchev <roam@ringlet.net>
-Last-Update: 2010-06-21
-
---- a/net.c
-+++ b/net.c
-@@ -304,12 +304,12 @@
- static void
- close_connection(int fd)
- {
--      if (((config.features & SECURETRANS) != 0) &&
--          ((config.features & NOSSL) == 0))
--              SSL_shutdown(config.ssl);
--
--      if (config.ssl != NULL)
-+      if (config.ssl != NULL) {
-+              if (((config.features & SECURETRANS) != 0) &&
-+                  ((config.features & NOSSL) == 0))
-+                      SSL_shutdown(config.ssl);
-               SSL_free(config.ssl);
-+      }
-       close(fd);
- }