-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More panic info on failure of Windows rand
Add the error messages of both `BCryptGenRandom` and `RtlGenRandom` in the (unlikely) event they both fail. Also use an `isize` for the algorithm handle instead of a pointer. This matches the windows-sys crate.
- Loading branch information
1 parent
8521a8c
commit 884f945
Showing
2 changed files
with
23 additions
and
17 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