aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/encrypt-to-group.py
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-05-28 07:53:32 +0000
committerWerner Koch <[email protected]>2018-05-28 07:53:32 +0000
commit368f2d9db30df16328b34787419de99fe3e1e2f1 (patch)
treefc1ec20c53b28f125cebca2d9d97bdb4119a9f26 /lang/python/examples/howto/encrypt-to-group.py
parentjson: Implement encrypt-sign (diff)
downloadgpgme-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