Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it consistent with trendmicro latest implementation #26

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ljjgdfs
Copy link

@ljjgdfs ljjgdfs commented Nov 27, 2022

returning invalid hash when q3 is zero or data size is less than 50 bytes

Copy link
Owner

@glaslos glaslos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late review.
Linting and use gofmt for indentation.

h1.Write([]byte("1234567890"))
h1.Write([]byte("1234567890"))
h1.Write([]byte("1234567890"))
t.Log(fmt.Sprintf("h1: %x", h1.Sum(nil)))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use t.Logf instead

@ljjgdfs ljjgdfs closed this Nov 21, 2023
@ljjgdfs ljjgdfs reopened this Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants