Juan Lang : crypt32: Change finalized from a boolean to a state and use it to simplify message updating .