mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-28 16:29:51 +00:00
arc4random_buf() is a pretty standard libc function on Unix'oid platforms, but not all our targets have it, thus we need a fallback there. Currently we have GenerateRandomData(), which either just wraps arc4random_buf() or provides some fallback implementation. For those cases it's easier to just implement missing functions directly instead of having custom wrapper functions. So, drop GenerateRandomData() in favor of arc4random_buf() and provide fallback implementation for where it is missing. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
4.1 KiB
4.1 KiB