Any person subject to this Code who in time of war discloses the parole or countersign to any person not entitled to receive it or who gives to another, who is entitled to receive and use the parole or countersign, a different parole or countersign from that which, to his knowledge, he was authorized and required to give, shall be punished as a court-martial may direct.
20 ILCS 1807/101