]> git.ipfire.org Git - thirdparty/chrony.git/commit
sched: update timeout randomization
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 13 Nov 2015 15:08:02 +0000 (16:08 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 16 Nov 2015 09:30:59 +0000 (10:30 +0100)
commitdfc96e4702164a5daa0e8d554d419843b10f353c
treefd2dbef1a7953fd5800070b8710b0edff1df7b15
parent8225bf01f7eec88df8a6399767903bc342058ce6
sched: update timeout randomization

Use UTI_GetRandomBytes() instead of random() to calculate the random
part of the timeout. This was the only remaining use of random() in the
code and the srandom() call can be removed.
sched.c