CProtocolSR: fix possible bug setting message hash