From: Dr. Stephen Henson Date: Mon, 15 Feb 2010 19:00:12 +0000 (+0000) Subject: PR: 2164 X-Git-Tag: OpenSSL-fips-2_0-rc1~1272 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=918a5d04e4877af15ed5ffb71f4deba560276c0d PR: 2164 Submitted by: "Noszticzius, Istvan" Don't clear the output buffer: ciphers should correctly the same input and output buffers. --- 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