diff options
author | tb <tb@cvs.openbsd.org> | 2015-12-17 07:56:02 +0000 |
---|---|---|
committer | tb <tb@cvs.openbsd.org> | 2015-12-17 07:56:02 +0000 |
commit | 58115b8997be584088abc1e9b0c85d85b43704ee (patch) | |
tree | c2fed19efec664760ad81e031f66e89db850c486 /usr.sbin/npppctl/npppctl.c | |
parent | cd6f2473c8e7811810fbcb57031b24cbf518bcb9 (diff) |
Replace arc4random() % i by arc4random_uniform(i) to avoid modulo bias.
Part of a diff by Matthew Martin, reviewed by deraadt@ and me.
ok deraadt@
Diffstat (limited to 'usr.sbin/npppctl/npppctl.c')
0 files changed, 0 insertions, 0 deletions