summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS4
-rw-r--r--cipher/cipher.c1
2 files changed, 0 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index cb5bb192..2a6384e3 100644
--- a/NEWS
+++ b/NEWS
@@ -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: