ache 2008-07-22 12:43:09 UTC
FreeBSD src repository
Modified files:
lib/libc/gen arc4random.c
Log:
SVN rev 180690 on 2008-07-22 12:43:09Z by ache
In arc4random_uniform() detect simple "power of two" case and
return just (arc4random() % upper_bound)
Revision Changes Path
1.20 +5 -1 src/lib/libc/gen/arc4random.c