aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/examples/howto/sign-file.py
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-03-20 09:41:18 +0000
committerWerner Koch <[email protected]>2018-03-20 09:41:18 +0000
commit343d3e2232a22d0999e1693f0f95e5e290005829 (patch)
tree737315e72d57638709763f41febb22e59c84d987 /lang/python/examples/howto/sign-file.py
parentcore: Fix ABI regression in recent commit. (diff)
downloadgpgme-343d3e2232a22d0999e1693f0f95e5e290005829.tar.gz
gpgme-343d3e2232a22d0999e1693f0f95e5e290005829.zip
core: Do not clobber R_KEY in gpgme_get_key on error.
* src/keylist.c (gpgme_get_key): Assign a value to the return parameter only on success. -- This problem could be triggered by an ambiguous key. The problem is that the key returned in that case is for one not expected and worse it has not been ref-ed. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'lang/python/examples/howto/sign-file.py')
0 files changed, 0 insertions, 0 deletions