bsnmpd(1): Replace dubious srandomdev+random(3) with arc4random(3)

This commit is contained in:
cem 2019-12-13 05:13:25 +00:00
parent 9cf7fb586a
commit 34dbda6133

View File

@ -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
/*