mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
use urandom instead of random
This commit is contained in:
parent
f059085532
commit
d08d147528
@ -197,7 +197,7 @@ ipmi_req_clear_entries(void)
|
||||
static int
|
||||
get_random(void *data, unsigned int len)
|
||||
{
|
||||
int fd = open("/dev/random", O_RDONLY);
|
||||
int fd = open("/dev/urandom", O_RDONLY);
|
||||
int rv;
|
||||
|
||||
if (fd == -1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user