12 lines
496 B
Diff
12 lines
496 B
Diff
|
--- a/contrib/s390/dfltcc.c
|
||
|
+++ b/contrib/s390/dfltcc.c
|
||
|
@@ -623,7 +623,7 @@
|
||
|
state->bits = param->sbb;
|
||
|
state->whave = param->hl;
|
||
|
state->wnext = (param->ho + param->hl) & ((1 << HB_BITS) - 1);
|
||
|
- state->check = state->flags ? ZSWAP32(param->cv) : param->cv;
|
||
|
+ strm->adler = state->check = state->flags ? ZSWAP32(param->cv) : param->cv;
|
||
|
if (cc == DFLTCC_CC_OP2_CORRUPT && param->oesc != 0) {
|
||
|
/* Report an error if stream is corrupted */
|
||
|
state->mode = BAD;
|