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

Panic if edwards25519 setters return errors #3

Merged
merged 2 commits into from
Aug 20, 2021

Conversation

muXxer
Copy link
Contributor

@muXxer muXxer commented Aug 19, 2021

This PR updates to the latest version of the filippo.io/edwards25519 module and adapts to the new function signatures.

The setters functions of edwards25519 do not panic internally anymore. They return errors now instead.
It's fine to just panic on our side, since we control the inputs.

pkg/ed25519/ed25519.go Outdated Show resolved Hide resolved
Co-authored-by: Wolfgang Welz <welzwo@gmail.com>
@Wollac Wollac merged commit 1a7b8ea into Wollac:master Aug 20, 2021
@muXxer muXxer deleted the fix/ed25519-setter-return-values branch August 20, 2021 09:04
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