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

getentropy support can't work #16

Closed
Leont opened this issue Jan 11, 2025 · 1 comment
Closed

getentropy support can't work #16

Leont opened this issue Jan 11, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Leont
Copy link

Leont commented Jan 11, 2025

The XS code for using getentropy is assuming it will return the length on success, when in fact it does not. It returns 0 on success, and -1 on failure. This means that it will always fail.

@david-dick
Copy link
Owner

That was an interesting combination of errors on my part. Hopefully fixed now.

@david-dick david-dick self-assigned this Jan 13, 2025
@david-dick david-dick added the bug Something isn't working label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants