ssl_DecodePacket -> ProcessMessage -> DoApplicationData  in sniffer.c file.

DoApplicationData is working as expected in v.2.7.2 by removing the extra pad characters.

in v2.8.0 DoApplicationData is not removing the pad characters

Following lines are missing in v2.8.0 and i am not sure the issue is due that.

pad = *(input + idx + msgSz - ivExtra - 1);
padByte = 1;

dataSz = msgSz - ivExtra - digestSz - pad - padByte;

Testing was done with offline captured pcap file.

Much appreciated any help with this.

Thanks
Sivakumar