core: Simplify parsing of STATUS_ERROR in decrypt.c
authorWerner Koch <wk@gnupg.org>
Wed, 12 Jul 2017 13:59:12 +0000 (15:59 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 12 Jul 2017 13:59:12 +0000 (15:59 +0200)
commit87703dbb86ac8fd8abd23170f8038ea6e3dbde28
tree20bf1e13fb2dad30221dc859f6df3ae95969d27b
parent111cd562d8eb11546bbd2d3bd11da4e952d4e504
core: Simplify parsing of STATUS_ERROR in decrypt.c

* src/decrypt.c (_gpgme_decrypt_status_handler): Factor some code out
to ...
(parse_status_error): new.  Modernize parsing.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/conversion.c
src/decrypt.c