Add getrandom compat for MacOS, FreeBSD and Cygwin
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 18 Apr 2023 21:58:01 +0000 (17:58 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 19 Apr 2023 15:10:36 +0000 (11:10 -0400)
commit5a23e035fd978f4623b818d45a47ef89bc354579
tree881e924b578ec2aeb3f30f237ea1c616ee8feb6d
parenta99a847c47f9cdbc329b6e87cccfafe94d34091f
Add getrandom compat for MacOS, FreeBSD and Cygwin

Use the BSD arc4random_buf() function which should be non-blocking on
all of these platforms.

Change-Id: Ib43373cad82373dc83995fdb3d01c2a2d43ab683
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac
src/common/random.cpp
This page took 0.039146 seconds and 4 git commands to generate.