synced crypto code with oscam.emu
fixed a warning