summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2008-12-18 17:17:46 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2008-12-25 11:02:32 +1100
commit87b77e28bf19ebba0404e763188cdd23bb3e0b28 (patch)
treef85203eafd06d8b1088e91418339f0d38f3802bd /crypto
parentcf6538a5526cfe2a9c3bba6ba436fe8c58e6478b (diff)
downloadlinux-crypto-87b77e28bf19ebba0404e763188cdd23bb3e0b28.tar.gz
linux-crypto-87b77e28bf19ebba0404e763188cdd23bb3e0b28.zip
crypto: testmgr - Correct comment about deflate parameters
The comment for the deflate test vectors says the winbits parameter is 11, while the deflate module actually uses -11 (a negative window bits parameter enables the raw deflate format instead of the zlib format). Correct this, to avoid confusion about the format used. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/testmgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/testmgr.h b/crypto/testmgr.h
index dee94d9e..132953e1 100644
--- a/crypto/testmgr.h
+++ b/crypto/testmgr.h
@@ -8349,7 +8349,7 @@ struct comp_testvec {
/*
* Deflate test vectors (null-terminated strings).
- * Params: winbits=11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
+ * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
*/
#define DEFLATE_COMP_TEST_VECTORS 2
#define DEFLATE_DECOMP_TEST_VECTORS 2