projects
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b378c1f
)
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
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 26 Nov 2017 16:21:38 +0000
(16:21 +0000)
src/src/pdkim/pdkim.c
patch
|
blob
|
blame
|
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 */