CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2015/12/18 03:55:51
Modified files: sys/netinet6 : nd6.h nd6_rtr.c Log message: Convert arc4random() to arc4random_uniorm(). Diff by Matthew Martin. Ensure that arc4random_uniform() doesn't loop by redefining ND6_MAX_DESYNC_FACTOR to be 512, the largest power of two smaller than the RFC-specified 600 seconds. Suggested by florian@ and deraadt@ ok florian@, sthen@ in this form, arc4random change ok djm@, tedu@