-
Notifications
You must be signed in to change notification settings - Fork 172
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
build: add missing randomness checks #2772
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK. This is marked still in progress, but looks good to me.
@wilkart What version of FreeBSD are you using? |
@div72 My recent approach was on FreeBSD 14.0 but I use many FreeBSD releases so I can easily verify the build on all supported if we need. |
@wilkart I got |
Dear @div72, it seems on FreeBSD 14.1 the change I pass below (reverting to original) allows building. I suggest we revert my solution. I will check in future release of 13.4-RELEASE.
|
1a6f001 introduced code using new defines from checks not implemented yet. This is ok as the fallback code that reads /dev/urandom is triggered instead but let's use the proper interface.
See the previous commit.
be32enc is a function on BSDs which can lead to conflicts. Use the WriteBE32 function that's used in crypto code instead.
@div72 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
No description provided.