commit | ccd12459a1abbc9825c298a5ac96a4cb84998985 | [log] [tgz] |
---|---|---|
author | elly <[email protected]> | Fri Jan 11 14:44:17 2013 -0500 |
committer | elly <[email protected]> | Fri Jan 11 15:02:33 2013 -0500 |
tree | 8a84da8873b427c7aaf861eb51167374800f5600 | |
parent | b2593472a8bfc0071d6da63d9f7e4d60ab2a473c [diff] |
tlsdated: add jitter (-j). We check for steady-state updates randomly at any time between (base-jitter,base+jitter). The jitter is generated using libc rand(), seeded with either some bytes from /dev/urandom (if available) or the time (if not). We don't particularly need strong randomness here. Signed-off-by: Elly Fong-Jones <[email protected]> (cherry picked from commit a8545b2af134f53247bd76507676bc0e3f1e6112)