mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-07-02 02:33:37 +00:00
using urandom instead of random
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user