Home GnuPG
Diffusion GPGME 7d3c13df263e

json: Allow NULL request in encode and chunk

Description

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.

Details

Provenance
aheineckeAuthored on Aug 28 2018, 8:05 AM
Parents
rM8aa61fd3a270: js: small documentation update
Branches
Unknown
Tags
Unknown