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

fix: only register one blake2s length #129

Merged
merged 2 commits into from May 13, 2020
Merged

Conversation

Stebalien
Copy link
Member

We register codes for all lengths, but there's no reason to register sum functions for all lengths. This change means we now correctly return "not supported" for unsupported lengths".

Also add a test to make sure sum never panics or returns a weird error.

We register _codes_ for all lengths, but there's no reason to register _sum_
functions for all lengths. This change means we now correctly return "not
supported" for unsupported lengths".
@Stebalien Stebalien merged commit 6f1ea18 into master May 13, 2020
@aschmahmann aschmahmann mentioned this pull request Sep 22, 2020
72 tasks
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