diff options
author | ache <ache@FreeBSD.org> | 2008-07-22 12:43:09 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2008-07-22 12:43:09 +0000 |
commit | 1cdd160d5093e9601fbfb3d2d7f65fd3b87df1a7 (patch) | |
tree | 5ffd58b79b3f9d9258ee560622881668e81198dc /lib/libedit | |
parent | e1bf8eba273f6a33d0c6eed3154db0a8c0cad3b2 (diff) | |
download | FreeBSD-src-1cdd160d5093e9601fbfb3d2d7f65fd3b87df1a7.zip FreeBSD-src-1cdd160d5093e9601fbfb3d2d7f65fd3b87df1a7.tar.gz |
In arc4random_uniform() detect simple "power of two" case and
return just (arc4random() % upper_bound)
Diffstat (limited to 'lib/libedit')
0 files changed, 0 insertions, 0 deletions