[git] GCRYPT - branch, master, updated. libgcrypt-1.6.0-284-g940dc8a

by Justus Winter cvs at cvs.gnupg.org
Wed Nov 18 17:35:43 CET 2015


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 "The GNU crypto library".

The branch, master has been updated
       via  940dc8adc034a6c6c38742f6bfd7d837a532d537 (commit)
      from  6571a64331839d7d952292163afbf34c8bef62e0 (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 940dc8adc034a6c6c38742f6bfd7d837a532d537
Author: Justus Winter <justus at g10code.com>
Date:   Tue Nov 17 16:00:16 2015 +0100

    cipher: Fix error handling.
    
    * cipher/cipher.c (_gcry_cipher_ctl): Fix error handling.
    --
    Found using the Clang Static Analyzer.
    
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/cipher/cipher.c b/cipher/cipher.c
index ab9f0dc..f163bde 100644
--- a/cipher/cipher.c
+++ b/cipher/cipher.c
@@ -1359,6 +1359,7 @@ _gcry_cipher_ctl (gcry_cipher_hd_t h, int cmd, void *buffer, size_t buflen)
           (&h->context.c, GCRYCTL_SET_SBOX, buffer, buflen);
       else
         rc = GPG_ERR_NOT_SUPPORTED;
+      break;
 
     default:
       rc = GPG_ERR_INV_OP;

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

Summary of changes:
 cipher/cipher.c | 1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
The GNU crypto library
http://git.gnupg.org


_______________________________________________
Gnupg-commits mailing list
Gnupg-commits at gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-commits




More information about the Gcrypt-devel mailing list