Commit Briefs
Fix syntax validator in t=-tag (used wrong function)
While here fix unfold some line wrappings no longer needed
For the key h tag we should skip over the alg, not the entire value when
inside the loop. While here reorder some line folding since the mheader->ltok API name change.
Put v=-tag handling for key into switch.
Shorter and better legibility
Rework the entire mheader file
- Rename mheader to ltok (lexical token) - Make all skip functions const - Add a few missing functions
Fix key h tag:
- inverted logic for key-h-tag-value - restore temporary NUL-character
Initial implementation for filter-dkimverify.
Probably still contains quite a few bugs and does't yet support ed25519.