Please sign in to comment.
Reinit sign context in soter tests
When we verify signature (even incorrect one), usually the internal hash/digest context is finalised and cannot be reused. OpenSSL is one exception: by default it creates an internal copy of the digest context and finalises the copy, so the original context can be reused, but it is not a generic case. Since Themis may have other cryptobackends, update the test to cover more generic cases, where internal hash context cannot be reused.
- Loading branch information...