aboutsummaryrefslogtreecommitdiffstats
path: root/mail/opendkim/files/patch-libopendkim_dkim-canon.c
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2015-08-28 09:23:53 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2015-08-28 09:23:53 +0000
commiteb3d49a7b75c08346a34914f05a92f4d990fd050 (patch)
tree40a739ef04006637921e8fe9f0e22babc5724c1b /mail/opendkim/files/patch-libopendkim_dkim-canon.c
parentbd2f84a92dadd98192db2d117804c782c42eaad5 (diff)
* Add a fix for where libopendkim fails to cope with a header line
which is wrapped immediately after the header name. This has been reported upstream: http://sourceforge.net/p/opendkim/bugs/230/ * Update pkg-descr -- all of the ADSP stuff has gone from opendkim now. PR: 202668 Approved by: freebsd-ports@dan.me.uk (maintainer)
Diffstat (limited to 'mail/opendkim/files/patch-libopendkim_dkim-canon.c')
-rw-r--r--mail/opendkim/files/patch-libopendkim_dkim-canon.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/opendkim/files/patch-libopendkim_dkim-canon.c b/mail/opendkim/files/patch-libopendkim_dkim-canon.c
new file mode 100644
index 000000000000..6f5f5439580a
--- /dev/null
+++ b/mail/opendkim/files/patch-libopendkim_dkim-canon.c
@@ -0,0 +1,11 @@
+--- libopendkim/dkim-canon.c.orig 2015-08-26 08:37:01 UTC
++++ libopendkim/dkim-canon.c
+@@ -388,7 +388,7 @@ dkim_canon_header_string(struct dkim_dst
+ }
+
+ /* skip all spaces before first word */
+- while (*p != '\0' && DKIM_ISWSP(*p))
++ while (*p != '\0' && DKIM_ISLWSP(*p))
+ p++;
+
+ space = FALSE; /* just saw a space */