Skip to content

Use the correct form of sha256.Sum256.#186

Open
mcsaucy wants to merge 1 commit into
VolantMQ:masterfrom
mcsaucy:push-rpkznwzzvnlk
Open

Use the correct form of sha256.Sum256.#186
mcsaucy wants to merge 1 commit into
VolantMQ:masterfrom
mcsaucy:push-rpkznwzzvnlk

Conversation

@mcsaucy
Copy link
Copy Markdown

@mcsaucy mcsaucy commented Apr 19, 2025

sha256.New().Sum(foo) appends the SHA-256 hash for nil to foo. See https://go.dev/play/p/vSW0U3Hq4qk

`sha256.New().Sum(foo)` appends the SHA-256 hash for nil to foo.
See https://go.dev/play/p/vSW0U3Hq4qk
@mcsaucy
Copy link
Copy Markdown
Author

mcsaucy commented Apr 19, 2025

I also suspect this will fix a latent bug in guest authentication? /shrug

Comment thread cmd/volantmq/main.go
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.

2 participants