===== crypto/cipher.c 1.18 vs edited ===== --- 1.18/crypto/cipher.c 2004-05-27 06:25:36 +10:00 +++ edited/crypto/cipher.c 2004-07-15 21:40:53 +10:00 @@ -52,8 +52,8 @@ { struct scatter_walk walk_in, walk_out; const unsigned int bsize = crypto_tfm_alg_blocksize(tfm); - u8 tmp_src[nbytes > src->length ? bsize : 0]; - u8 tmp_dst[nbytes > dst->length ? bsize : 0]; + u8 tmp_src[bsize]; + u8 tmp_dst[bsize]; if (!nbytes) return 0;