[git] GPGME - branch, master, updated. gpgme-1.11.1-111-g6e48bb0

[email protected] (by Andre Heinecke)
Newsgroups gmane.comp.encryption.gpg.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".

The branch, master has been updated
       via  6e48bb0f1cbf662026bf0f70549b52bafe00c017 (commit)
      from  3b782443600e8091c5f19580cb218100bcbb4ad7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6e48bb0f1cbf662026bf0f70549b52bafe00c017
Author: Andre Heinecke <[email protected]>
Date:   Wed Aug 8 09:49:51 2018 +0200

    json: Don't error out if chunksize is omitted
    
    * src/gpgme-json.c (encode_and_chunk): Don't error out
    if no chunksize is provided.
    
    --
    This fixes 82e4b900a96c837392259469a9a5821a95e7a707 which
    caused every call without chunksize to error out.

diff --git a/src/gpgme-json.c b/src/gpgme-json.c
index 81b70aa..9cae944 100644
--- a/src/gpgme-json.c
+++ b/src/gpgme-json.c
@@ -1491,10 +1491,7 @@ encode_and_chunk (cjson_t request, cjson_t response)
     }
 
   if (!chunksize)
-    {
-      err = GPG_ERR_INV_VALUE;
-      goto leave;
-    }
+    goto leave;
 
   pending_data.buffer = data;
   /* Data should already be encoded so that it does not

-----------------------------------------------------------------------

Summary of changes:
 src/gpgme-json.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.