tools: Convey signeddata also to the part_data callback in mime-parser.
authorWerner Koch <wk@gnupg.org>
Thu, 29 Sep 2016 15:59:09 +0000 (17:59 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 29 Sep 2016 15:59:38 +0000 (17:59 +0200)
commitc738f92c195d91662ddc7848cc3c92c7f091f1f8
tree19b9208f700708599eb824416944629c9fcfae7b
parentf776757ea94542e2f425840dddaf3e65b0ff7757
tools: Convey signeddata also to the part_data callback in mime-parser.

* tools/mime-parser.c (mime_parser_parse): Factor some code out to ...
(process_part_data): new.
((mime_parser_parse): Also call process_part_data for signed data.

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