From 918a5d04e4877af15ed5ffb71f4deba560276c0d Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 15 Feb 2010 19:00:12 +0000 Subject: PR: 2164 Submitted by: "Noszticzius, Istvan" Don't clear the output buffer: ciphers should correctly the same input and output buffers. --- crypto/modes/cfb128.c | 1 - 1 file changed, 1 deletion(-) (limited to 'crypto') diff --git a/crypto/modes/cfb128.c b/crypto/modes/cfb128.c index b6d1e886b9..98f4cf315c 100644 --- a/crypto/modes/cfb128.c +++ b/crypto/modes/cfb128.c @@ -224,7 +224,6 @@ void CRYPTO_cfb128_1_encrypt(const unsigned char *in, unsigned char *out, assert(in && out && key && ivec && num); assert(*num == 0); - memset(out,0,(bits+7)/8); for(n=0 ; n