mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-11 11:07:23 +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)
|
int lanplus_seed_prng(unsigned int bytes)
|
||||||
{
|
{
|
||||||
if (! RAND_load_file("/dev/random", bytes))
|
if (! RAND_load_file("/dev/urandom", bytes))
|
||||||
return 1;
|
return 1;
|
||||||
else
|
else
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user