summaryrefslogtreecommitdiff
path: root/crypto/testmgr.h
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
commitbcf84a38f05c55180bc1225901950c7e715c0d55 (patch)
treea91bc083d23f629ca9460b062d9d9a597c7725b3 /crypto/testmgr.h
parentf0d1ec3a227e01a27ce20719bf7b58de86d44f0f (diff)
downloadkernel-common-bcf84a38f05c55180bc1225901950c7e715c0d55.tar.gz
kernel-common-bcf84a38f05c55180bc1225901950c7e715c0d55.tar.bz2
kernel-common-bcf84a38f05c55180bc1225901950c7e715c0d55.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/testmgr.h')
-rw-r--r--crypto/testmgr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/testmgr.h b/crypto/testmgr.h
index dee94d9ecfba..132953e144d3 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