diff options
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | cipher/cipher.c | 1 |
2 files changed, 0 insertions, 5 deletions
@@ -1,10 +1,6 @@ Noteworthy changes in version 1.11.0 (unreleased) [C25/A5/R0] ------------------------------------------------- - * Bug fixes: - - - Handle GCRYCTL_SET_ALLOW_WEAK_KEY correctly for CBC mode. [T6451] - * Other features: - The control code GCRYCTL_ENABLE_M_GUARD is deprecated and not diff --git a/cipher/cipher.c b/cipher/cipher.c index 72bd9b29..f2558371 100644 --- a/cipher/cipher.c +++ b/cipher/cipher.c @@ -785,7 +785,6 @@ cipher_setkey (gcry_cipher_hd_t c, byte *key, size_t keylen) c->spec->contextsize); c->marks.key = 1; - rc = 0; /* Clear in case of allow_weak_key. */ switch (c->mode) { case GCRY_CIPHER_MODE_CMAC: |