mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Lower initial drop value to 50, it is enough to hide linearity
This commit is contained in:
parent
40220dde01
commit
696fe9ddcd
1 changed files with 2 additions and 2 deletions
|
|
@ -38,9 +38,9 @@ __FBSDID("$FreeBSD$");
|
|||
|
||||
#include <sys/libkern.h>
|
||||
|
||||
#define NSHUFF 100 /* to drop part of seed -> 1st value correlation */
|
||||
#define NSHUFF 50 /* to drop some "seed -> 1st value" linearity */
|
||||
|
||||
static u_long randseed = 892053144; /* after srandom(1), NSHUFF counted */
|
||||
static u_long randseed = 937186357; /* after srandom(1), NSHUFF counted */
|
||||
|
||||
void
|
||||
srandom(seed)
|
||||
|
|
|
|||
Loading…
Reference in a new issue