diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-11-26 15:26:42 +0000 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2017-12-03 19:50:27 +0100 |
commit | 8b38dbb8756bb78be7f75b9fe1c54ed7f60dfd0e (patch) | |
tree | e2d336c6920e1bdcb509b9903cea650d7a2bbda9 | |
parent | b98dbf1c5e4e76ade5f157ac10e4d4566cccc0d7 (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 */ |