diff options
author | Andre Heinecke <[email protected]> | 2018-08-28 06:05:30 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2018-08-28 06:05:46 +0000 |
commit | 7d3c13df263ed88c17005920e75e0486abeae5b9 (patch) | |
tree | 123983c20a0c56692ba5f4860122ab2c4d1536ac /lang/python/examples/howto/pmkey-import.py | |
parent | js: small documentation update (diff) | |
download | gpgme-7d3c13df263ed88c17005920e75e0486abeae5b9.tar.gz gpgme-7d3c13df263ed88c17005920e75e0486abeae5b9.zip |
json: Allow NULL request in encode and chunk
* src/gpgme-json.c (encode_and_chunk): Don't error on NULL
request.
--
This fixes the error that is passed when parthing the json
object failed and request would be NULL.
Instead of the JSON parser error it would otherwise report
that encode and chunk failed.
Diffstat (limited to 'lang/python/examples/howto/pmkey-import.py')
0 files changed, 0 insertions, 0 deletions