RUSTSEC-2018-0012: orion: Flaw in streaming state reset() functions can create incorrect results.

Description

Affected versions of this crate did not properly reset a streaming state.

Resetting a streaming state, without finalising it first, creates incorrect results.

The flaw was corrected by not first checking if the state had already been reset, when calling reset().

More Info

https://github.com/brycx/orion/issues/46

Patched Versions