Change /dev/urandom to /dev/random since urandom marked as

XXX Deprecated
alias in /sys/dev/random/randomdev.c
This commit is contained in:
Andrey A. Chernov 2008-07-22 15:25:35 +00:00
parent 59b622e6b3
commit ba2c3a6557

View File

@ -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) \