tools: Extend mime-maker.c:mime_maker_add_header.
authorWerner Koch <wk@gnupg.org>
Sat, 2 Jul 2016 16:55:22 +0000 (18:55 +0200)
committerWerner Koch <wk@gnupg.org>
Sat, 2 Jul 2016 16:55:22 +0000 (18:55 +0200)
commit0e36a1d1fb79c2b75c081616eed00075190b38aa
tree9b485bbb2a8c702021289c5adf27c7f3193a9fd3
parent442efa9b3ff211c692b6967a944b3d9371ad1bb7
tools: Extend mime-maker.c:mime_maker_add_header.

* tools/mime-maker.c (add_header): Check header name and allow
name-value syntax.
(mime_maker_add_header): Add mode for a syntax check.

Signed-off-by: Werner Koch <wk@gnupg.org>
tools/mime-maker.c