Werner Koch 368f2d9db3
json: Fix use of get_context.
* src/gpgme-json.c (create_onetime_context): New.
(release_onetime_context): New.
(op_sign): Use the new fucntions to create a separate context.
(op_encrypt): Use a separate context for key listings.
(create_keylist_patterns): Remove unneeded cast.
--

get_context retruns a static per-process context and can thus not be
used as a separate context.  Use dedicated fucntions for this.

Signed-off-by: Werner Koch <wk@gnupg.org>
2018-05-28 09:53:32 +02:00
..
2018-03-23 11:26:36 +01:00
2018-03-23 11:26:36 +01:00
2017-12-08 05:59:11 +01:00
2017-12-08 05:59:11 +01:00
2017-03-02 14:47:51 +01:00
2017-12-08 05:59:11 +01:00
2018-05-28 09:53:32 +02:00
2018-03-05 09:40:41 +11:00
2018-03-15 16:23:18 +01:00
2017-12-08 05:59:11 +01:00
2016-09-13 20:53:49 +02:00
2018-04-19 10:34:32 +02:00
2016-09-13 20:53:49 +02:00