mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
using urandom instead of random
This commit is contained in:
parent
77cf4b9622
commit
4c83f69cae
@ -56,7 +56,7 @@
|
||||
*/
|
||||
int lanplus_seed_prng(unsigned int bytes)
|
||||
{
|
||||
if (! RAND_load_file("/dev/random", bytes))
|
||||
if (! RAND_load_file("/dev/urandom", bytes))
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user