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

Enable arc4random(3) on all supported BSDs and macOS/Darwin #12608

Merged
merged 5 commits into from
Nov 16, 2022
Merged

Enable arc4random(3) on all supported BSDs and macOS/Darwin #12608

merged 5 commits into from
Nov 16, 2022

Conversation

dmgk
Copy link
Contributor

@dmgk dmgk commented Oct 13, 2022

All BSD-based platforms supported by Crystal have arc4random(3), add support for it where it was missing.

Fixes #12607

All BSD-based platforms supported by Crystal have arc4random(3), add
support for it where it was missing.

Fixes #12607
@straight-shoota
Copy link
Member

Haha sorry, @Blacksmoke16 I completely swapped all your labels 😆

Just for clarification: I'd see it as feature, not a bug because Random worked on all BSDs, this just enables using a better function (I guess missing that could be seen as a bug, but it's not hard broken). Also we've usually labeled issues about Random in topic:stdlib:crypto. And then I created a new label for generic BSD just to make it complete =)

@Blacksmoke16
Copy link
Member

Haha all good, I was basing it off of the original issue. Updated that one to be feature and generic bsd as well.

@dmgk dmgk changed the title Enable arc4random(3) on all supported BSDs Enable arc4random(3) on all supported BSDs and macOS/Darwin Oct 22, 2022
dmgk and others added 2 commits October 22, 2022 06:46
Copy link
Member

@sdogruyol sdogruyol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @dmgk 🙏

@straight-shoota straight-shoota added this to the 1.7.0 milestone Nov 15, 2022
@straight-shoota straight-shoota changed the title Enable arc4random(3) on all supported BSDs and macOS/Darwin Enable arc4random(3) on all supported BSDs and macOS/Darwin Nov 16, 2022
@straight-shoota straight-shoota merged commit 3973f44 into crystal-lang:master Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable arc4random(3) on all supported BSDs
5 participants