Home GnuPG
Diffusion GPGME c1c893e3384a

python: More type conversion fixes.
c1c893e3384aUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

python: More type conversion fixes.

* lang/python/helpers.c (pyPassphraseCb): Cope with 'uid_hint' being
NULL, convert it to an Unicode object, and cope with the callback
returning both Unicode and bytes objects.
  • Signed-off-by: Justus Winter <justus@gnupg.org>

Details

Provenance
justusAuthored on May 19 2016, 10:55 AM
Parents
rM07f71cd17706: python: Fix import.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@gnupg.org> committed rMc1c893e3384a: python: More type conversion fixes. (authored by Justus Winter <justus@gnupg.org>).May 19 2016, 11:09 AM