json: Fix keylist pattern handling
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 25 May 2018 11:06:44 +0000 (13:06 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Fri, 25 May 2018 11:06:44 +0000 (13:06 +0200)
commit10724e363d6b5b06f51808287ad63e142e419ae6
treece191aeabe86bedb3975fa68216c86b9edf5dd66
parented20936ce4d5bb066828346b9a06d2dfa8d6afb2
json: Fix keylist pattern handling

* src/gpgme-json.c (xfree_array): New helper.
(create_keylist_patterns): Convert keystring to gpgme patterns.
(op_sign, op_keylist): Use it.
src/gpgme-json.c