freebsd-ports/mail/opendkim/files/patch-libopendkim_dkim-canon.c
Matthew Seaman eb3d49a7b7 * 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)
2015-08-28 09:23:53 +00:00

11 lines
334 B
C

--- 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 */