commit | 8eb76ff32ae54ffeb6e3631f5d3584a372e59582 | [log] [tgz] |
---|---|---|
author | Sergey Ulanov <sergeyu@chromium.org> | Wed May 20 11:25:37 2015 -0700 |
committer | Sergey Ulanov <sergeyu@chromium.org> | Wed May 20 18:25:21 2015 +0000 |
tree | 90ab03df25cfab7381a4b006b1469f7619580730 | |
parent | 5cdd7024d0fb25d4bcc872d84b44b3fdf12fa524 [diff] |
Make SHA1 computation thread-safe. Previously SHA1Transform() kept a static buffer. As result SHA1 was not always computed correctly when running that code in parallel on multiple threads. That was causing spurious messages about invalid Message Integrity attribute when running some tests in chromoting. R=pthatcher@webrtc.org Review URL: https://webrtc-codereview.appspot.com/57379004 Cr-Commit-Position: refs/heads/master@{#9238}