diff options
author | Werner Koch <[email protected]> | 2018-05-28 07:53:32 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-05-28 07:53:32 +0000 |
commit | 368f2d9db30df16328b34787419de99fe3e1e2f1 (patch) | |
tree | fc1ec20c53b28f125cebca2d9d97bdb4119a9f26 /lang/python/examples/howto/encrypt-to-group.py | |
parent | json: Implement encrypt-sign (diff) | |
download | gpgme-368f2d9db30df16328b34787419de99fe3e1e2f1.tar.gz gpgme-368f2d9db30df16328b34787419de99fe3e1e2f1.zip |
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 <[email protected]>
Diffstat (limited to 'lang/python/examples/howto/encrypt-to-group.py')
0 files changed, 0 insertions, 0 deletions