aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/doc/src/gpgme-python-howto.org
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-05-23 13:52:25 +0000
committerWerner Koch <[email protected]>2023-05-23 13:52:25 +0000
commit36a68bc5308c0b4a541ca6adea5d3635217e8af2 (patch)
tree13c0878eb820bfbe64d049acfcec86b0cab2ac78 /lang/python/doc/src/gpgme-python-howto.org
parentbuild: Sync to libtool from libgpg-error for 64-bit Windows. (diff)
downloadgpgme-36a68bc5308c0b4a541ca6adea5d3635217e8af2.tar.gz
gpgme-36a68bc5308c0b4a541ca6adea5d3635217e8af2.zip
python: Fix wrong use of write.
* lang/python/helpers.c (pyPassphraseCb): Use gpgme_io_writen. (_gpg_interact_cb): Ditto. * lang/python/helpers.h (write) [W32]: Remove bad write macro. -- GnuPG-bug-id: T6501 Using write(2) without checking for EINTR is a not a good idea. Futher gpgme_io_writen is the correct way to send data from a callback. This also fixed the wrong use of a simple macro for Windows.
Diffstat (limited to 'lang/python/doc/src/gpgme-python-howto.org')
0 files changed, 0 insertions, 0 deletions