From: Dr. Stephen Henson Date: Mon, 15 Feb 2010 19:01:56 +0000 (+0000) Subject: PR: 2164 X-Git-Tag: OpenSSL_1_0_0~53 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=edb7cac271ce4144a9696eaecf40a471736a07d1;ds=sidebyside 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