From d4a4d4563bcf6dd3995e9a70038056076e1c86e9 Mon Sep 17 00:00:00 2001 From: leslie Date: Mon, 4 Feb 2008 11:14:21 +0100 Subject: [PATCH] viaccess: fix TPS AU dump --- systems/viaccess/tps.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/systems/viaccess/tps.c b/systems/viaccess/tps.c index 40d654d..5ac0aca 100644 --- a/systems/viaccess/tps.c +++ b/systems/viaccess/tps.c @@ -42,6 +42,10 @@ //#define TRUST_BOXTIME // should we trust the local time on this machine? //#define DUMP_TPSAU "/var/tmp" +#ifdef DUMP_TPSAU +#include +#endif + // -- cRC6 --------------------------------------------------------------------- /* @@ -754,7 +758,7 @@ bool cTpsKeys::ProcessAu(const cOpenTVModule *mod) } } if(!kd || !cb1 || !cb2 || !cb3) { - PRINTF(L_SYS_TPSAU,"couldn't locate all pointers in data section"); + PRINTF(L_SYS_TPSAU,"couldn't locate all pointers in data section (%d,%d,%d,%d)",kd,cb1,cb2,cb3); return false; } unsigned int len=(kd>cb1 && kd>cb2 && kd>cb3) ? kd : datahdr->dlen; -- 2.39.5