git: Sync arc4random() with OpenBSD a bit.
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Sun Aug 21 02:26:54 PDT 2016
commit d0ce80dc6b5a41da926e902cb8b6a31c874b12bc
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Fri Aug 19 13:39:18 2016 +0300
Sync arc4random() with OpenBSD a bit.
Simplify calculation of "2**32 % upper_bound".
While there, perform some stylistic changes.
Taken-from: OpenBSD
Summary of changes:
lib/libc/gen/arc4random.c | 48 ++++++++++++++++-------------------------------
1 file changed, 16 insertions(+), 32 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d0ce80dc6b5a41da926e902cb8b6a31c874b12bc
--
DragonFly BSD source repository
More information about the Commits
mailing list