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
Make it consistent with trendmicro latest implementation (#27)
* Make it consistent with trendmicro latest implementation: returning invalid hash when q3 is zero or file size is less than 50 bytes
* adapt hash interface to the latest fix
* t.Logf and gofmt
* make sure on windows we don't get crlf for these test files.
* Modifying the receiver (*t) in place and then returning its Binary() creates confusing side effects. Consider returning a zero hash directly without modifying the receiver state.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: ljjgdfs <ljjgdfs@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
0 commit comments