diff options
Diffstat (limited to 'arch/x86/crypto/blowfish_glue.c')
-rw-r--r-- | arch/x86/crypto/blowfish_glue.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/crypto/blowfish_glue.c b/arch/x86/crypto/blowfish_glue.c index 50ec333b70e6..8af519ed73d1 100644 --- a/arch/x86/crypto/blowfish_glue.c +++ b/arch/x86/crypto/blowfish_glue.c | |||
@@ -223,9 +223,6 @@ static unsigned int __cbc_decrypt(struct blkcipher_desc *desc, | |||
223 | src -= 1; | 223 | src -= 1; |
224 | dst -= 1; | 224 | dst -= 1; |
225 | } while (nbytes >= bsize * 4); | 225 | } while (nbytes >= bsize * 4); |
226 | |||
227 | if (nbytes < bsize) | ||
228 | goto done; | ||
229 | } | 226 | } |
230 | 227 | ||
231 | /* Handle leftovers */ | 228 | /* Handle leftovers */ |