summaryrefslogtreecommitdiffstats
path: root/crypto/aes/aes_cfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/aes/aes_cfb.c')
-rw-r--r--crypto/aes/aes_cfb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/aes/aes_cfb.c b/crypto/aes/aes_cfb.c
index 49f0411..9384ba6 100644
--- a/crypto/aes/aes_cfb.c
+++ b/crypto/aes/aes_cfb.c
@@ -201,7 +201,6 @@ void AES_cfb1_encrypt(const unsigned char *in, unsigned char *out,
assert(in && out && key && ivec && num);
assert(*num == 0);
- memset(out,0,(length+7)/8);
for(n=0 ; n < length ; ++n)
{
c[0]=(in[n/8]&(1 << (7-n%8))) ? 0x80 : 0;
OpenPOWER on IntegriCloud