git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b98dbf1
)
DKIM: fix tolerating spaces round tag values
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 26 Nov 2017 15:26:42 +0000
(15:26 +0000)
committer
Heiko Schlittermann (HS12-RIPE)
<hs@schlittermann.de>
Sun, 3 Dec 2017 18:50:27 +0000
(19:50 +0100)
src/src/pdkim/pdkim.c
patch
|
blob
|
history
diff --git
a/src/src/pdkim/pdkim.c
b/src/src/pdkim/pdkim.c
index 53b304d0d6d900af180acd93fac017d13f7ed46f..20366a461fa1a5b152ad3441408f1003642ebeb9 100644
(file)
--- 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 */