diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-11-26 15:26:42 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-11-26 16:21:38 +0000 |
commit | 81147e20ebcf706f8ebec3416f387785cc600f76 (patch) | |
tree | 235a3e68c7add48f28039a2c9efc286e95f63d3d | |
parent | b378c1f3723630ef2dcf19dcf00b93eb6639bcb8 (diff) |
DKIM: fix tolerating spaces round tag values
-rw-r--r-- | src/src/pdkim/pdkim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/pdkim/pdkim.c b/src/src/pdkim/pdkim.c index 53b304d0d..20366a461 100644 --- a/src/src/pdkim/pdkim.c +++ b/src/src/pdkim/pdkim.c @@ -230,7 +230,7 @@ while (*p == '\t' || *p == ' ') /* dump the leading whitespace */ { str->size--; str->ptr--; str->s++; } while ( str->ptr > 0 - && (q = str->s + str->ptr - 1), *q == '\t' || *q == ' ' + && ((q = str->s + str->ptr - 1), (*q == '\t' || *q == ' ')) ) str->ptr--; /* dump trailing whitespace */ |