]> git.ipfire.org Git - thirdparty/chrony.git/commit
util: add UTI_GetRandomBytesUrandom()
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 13 Jan 2016 10:57:36 +0000 (11:57 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 14 Jan 2016 13:45:52 +0000 (14:45 +0100)
commit32ac6ffa2662bb08fcaf2288176d6cafc9c62e4f
treec124243afe69f04172d77db13d2ac0c00ebef8a6
parent0d12410eaa8cef99d1a3e3472749c54a1f163b9d
util: add UTI_GetRandomBytesUrandom()

This function always uses /dev/urandom, even if arc4random() is
available, and is intended for generating long-term keys.
util.c
util.h