Commit bcf84a38f05c55180bc1225901950c7e715c0d55
Committed by
Herbert Xu
1 parent
f0d1ec3a22
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
crypto/testmgr.h
... | ... | @@ -8349,7 +8349,7 @@ |
8349 | 8349 | |
8350 | 8350 | /* |
8351 | 8351 | * Deflate test vectors (null-terminated strings). |
8352 | - * Params: winbits=11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL. | |
8352 | + * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL. | |
8353 | 8353 | */ |
8354 | 8354 | #define DEFLATE_COMP_TEST_VECTORS 2 |
8355 | 8355 | #define DEFLATE_DECOMP_TEST_VECTORS 2 |