You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix shimmed implementation of TryGetHashAndReset to handle HMAC.
The TryGetHashAndReset switches on the algorithm name of IncrementalHash. IncrementalHash prepends "HMAC" in front of the algorithm name, so the shim did not correctly handle the HMAC-prepended algorithm names.
This gets rid of the switch, since it was only used as an optimization in a non-success path.
0 commit comments