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;
|
||||
nprogargs = argc;
|
||||
|
||||
srandomdev();
|
||||
|
||||
snmp_serial_no = random();
|
||||
snmp_serial_no = arc4random();
|
||||
|
||||
#ifdef USE_TCPWRAPPERS
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user