[git] GCRYPT - branch, justus/fix-error-handling, created. libgcrypt-1.6.0-282-g6af4a77
by Justus Winter
cvs at cvs.gnupg.org
Tue Nov 17 17:07:38 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, justus/fix-error-handling has been created
at 6af4a773d42d06b503250400221a02e4d43cefed (commit)
- Log -----------------------------------------------------------------
commit 6af4a773d42d06b503250400221a02e4d43cefed
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;
-----------------------------------------------------------------------
hooks/post-receive
--
The GNU crypto library
http://git.gnupg.org
More information about the Gnupg-commits
mailing list