From: Geert Uytterhoeven Date: Fri, 28 Nov 2008 12:51:28 +0000 (+0800) Subject: crypto: testmgr - Validate output length in (de)compression tests X-Git-Tag: v2.6.29-rc1~589^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b812eb0076235743872b5c9d18714d2324cc668d;p=pandora-kernel.git crypto: testmgr - Validate output length in (de)compression tests When self-testing (de)compression algorithms, make sure the actual size of the (de)compressed output data matches the expected output size. Otherwise, in case the actual output size would be smaller than the expected output size, the subsequent buffer compare test would still succeed, and no error would be reported. Signed-off-by: Geert Uytterhoeven Signed-off-by: Herbert Xu --- Reading git-diff-tree failed