Skip to content

fix: only register one blake2s length#129

Merged
Stebalien merged 2 commits intomasterfrom
test/basic-sum-test
May 13, 2020
Merged

fix: only register one blake2s length#129
Stebalien merged 2 commits intomasterfrom
test/basic-sum-test

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.

Stebalien added 2 commits May 12, 2020 16:51
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.

2 participants