bsnmpd(1): Replace dubious srandomdev+random(3) with arc4random(3)
This commit is contained in:
parent
9cf7fb586a
commit
34dbda6133
@ -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