Home GnuPG
Diffusion GPGME a46c27b32111

json: Deduplicate input handling code

Description

json: Deduplicate input handling code

* gpgme-json.c (get_string_data): New.
(op_verify, op_sign, op_decrypt, op_encrypt): Use it.

This handles the common base64 decoding and creation of the
gpgme_data object.

Details

Provenance
aheineckeAuthored on May 25 2018, 9:46 AM
Parents
rM321005c12f71: examples: mutt crypt-hooks generator
Branches
Unknown
Tags
Unknown