Change /dev/urandom to /dev/random since urandom marked as
XXX Deprecated alias in /sys/dev/random/randomdev.c
This commit is contained in:
parent
59b622e6b3
commit
ba2c3a6557
@ -54,7 +54,7 @@ struct arc4_stream {
|
||||
|
||||
static pthread_mutex_t arc4random_mtx = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
#define RANDOMDEV "/dev/urandom"
|
||||
#define RANDOMDEV "/dev/random"
|
||||
#define THREAD_LOCK() \
|
||||
do { \
|
||||
if (__isthreaded) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user