mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 20:45:07 -05:00
Add a function to fill a buffer with random bytes which uses a better PRNG than random(). Use arc4random() if it's available on the system. Fall back to reading from /dev/urandom, which should be available on all currently supported systems.
6.0 KiB
6.0 KiB