Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test getrandom(2) on Linux if available
This patch changes the urandom PRNG to read one byte from the getrandom(2) Linux syscall on initialization in order to find any unexpected behavior. Change-Id: I8ef676854dc361e4f77527b53d1a14fd14d449a8 Reviewed-on: https://boringssl-review.googlesource.com/8681 Reviewed-by: Adam Langley <alangley@gmail.com> Commit-Queue: Adam Langley <alangley@gmail.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
- Loading branch information
Showing
2 changed files
with
60 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters