Bug #5099 » a.patch
src/descrambler/cccam.c | ||
---|---|---|
513 | 513 |
if (rbuf->sb_ptr >= msglen + 4) { |
514 | 514 |
memcpy(rbuf->sb_data, hdr, 4); |
515 | 515 |
cccam_decrypt(&cccam->recvblock, rbuf->sb_data + 4, msglen); |
516 |
tvhtrace(LS_CCCAM, "decrypt: msglen %d", msglen + 4); |
|
517 |
tvhlog_hexdump(LS_CCCAM, rbuf->sb_data, msglen + 4); |
|
516 | 518 |
return msglen + 4; |
517 | 519 |
} else { |
518 | 520 |
cccam->recvblock = block; |
521 |
tvhtrace(LS_CCCAM, "decrypt failed: msglen %d sbptr %d", msglen + 4, rbuf->sb_ptr); |
|
519 | 522 |
return 0; |
520 | 523 |
} |
521 | 524 |
} |