python: Fix passphrase callback wrapping.
authorJustus Winter <justus@g10code.com>
Thu, 16 Feb 2017 13:49:27 +0000 (14:49 +0100)
committerJustus Winter <justus@g10code.com>
Thu, 16 Feb 2017 13:49:27 +0000 (14:49 +0100)
commit3bdce4aa3ddd4a3f55b24678faf978d61daa8909
treea6fc133a75d7b0cfd92e3cb597473b4a40809ea3
parent048c5f74b61d5e4fa7617ce7c9111c6754bd4409
python: Fix passphrase callback wrapping.

* lang/python/helpers.c (pyPassphraseCb): Cope with 'passphrase_info'
being NULL.

Signed-off-by: Justus Winter <justus@g10code.com>
lang/python/helpers.c