diff options
Diffstat (limited to 'test/example.c')
| -rw-r--r-- | test/example.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/example.c b/test/example.c index 339ea8cd6f..151e814b7e 100644 --- a/test/example.c +++ b/test/example.c @@ -923,6 +923,12 @@ void test_deflate_set_header(unsigned char *compr, size_t comprLen) { CHECK_ERR(err, "deflateInit2"); head->text = 1; + head->comment = (uint8_t *)"comment"; + head->name = (uint8_t *)"name"; + head->hcrc = 1; + head->extra = (uint8_t *)"extra"; + head->extra_len = (uint32_t)strlen((const char *)head->extra); + err = PREFIX(deflateSetHeader)(&c_stream, head); CHECK_ERR(err, "deflateSetHeader"); if (err == Z_OK) { |
