bsnmpd(1): Replace dubious srandomdev+random(3) with arc4random(3)
This commit is contained in:
parent
d05c99c547
commit
44d780e32b
@ -1615,9 +1615,7 @@ main(int argc, char *argv[])
|
|||||||
progargs = argv;
|
progargs = argv;
|
||||||
nprogargs = argc;
|
nprogargs = argc;
|
||||||
|
|
||||||
srandomdev();
|
snmp_serial_no = arc4random();
|
||||||
|
|
||||||
snmp_serial_no = random();
|
|
||||||
|
|
||||||
#ifdef USE_TCPWRAPPERS
|
#ifdef USE_TCPWRAPPERS
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user