CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/12/17 01:09:20
Modified files:
usr.sbin/npppd/l2tp: l2tpd.c
usr.sbin/npppd/pppoe: pppoed.c
Log message:
Replace 'arc4random() % (2^k - 1)' by 'arc4random() & (2^k - 1)' to
avoid modulo bias. Part of a diff by Matthew Martin, reviewed by
deraadt@ and me.
ok deraadt@
