Skip to content

Add OpenBSD support#40

Merged
Absolucy merged 1 commit intoAbsolucy:mainfrom
n1000:openbsd_support
Dec 4, 2022
Merged

Add OpenBSD support#40
Absolucy merged 1 commit intoAbsolucy:mainfrom
n1000:openbsd_support

Conversation

@n1000
Copy link
Copy Markdown
Contributor

@n1000 n1000 commented Nov 5, 2022

No description provided.

Copy link
Copy Markdown
Owner

@Absolucy Absolucy left a comment

Choose a reason for hiding this comment

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

looks good to me. have u tested it?

@n1000
Copy link
Copy Markdown
Contributor Author

n1000 commented Nov 6, 2022

My main motivation for enabling this was running into a compilation issue in "fend", which relies on this package. I did test these changes, but my testing was limited to:

  1. Building fend on an OpenBSD system (OpenBSD 7.2 - amd64) with this nanorand-rs change in place
  2. Tested basic fend functionality
  3. Verifying that the new arc4random_buf call was being made by fend (used gdb + breakpoint)
  4. Ran "cargo test" in nanorand-rs on the same OpenBSD system (all passed)

If you have any other spot checks to validate functionality, I should be able to do them - please let me know!

@n1000 n1000 requested a review from Absolucy December 4, 2022 19:21
@Absolucy Absolucy merged commit 1438c12 into Absolucy:main Dec 4, 2022
@n1000 n1000 deleted the openbsd_support branch December 29, 2022 05:41
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