mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Face it, /dev/arandom was removed from OpenBSD a loooooong time ago.
This commit is contained in:
@@ -108,7 +108,7 @@ randombytes_salsa20_random_random_dev_open(void)
|
||||
{
|
||||
static const char * const devices[] = {
|
||||
# ifndef USE_BLOCKING_RANDOM
|
||||
"/dev/arandom", "/dev/urandom",
|
||||
"/dev/urandom",
|
||||
# endif
|
||||
"/dev/random", NULL
|
||||
};
|
||||
|
||||
@@ -68,7 +68,7 @@ randombytes_sysrandom_random_dev_open(void)
|
||||
{
|
||||
static const char * const devices[] = {
|
||||
# ifndef USE_BLOCKING_RANDOM
|
||||
"/dev/arandom", "/dev/urandom",
|
||||
"/dev/urandom",
|
||||
# endif
|
||||
"/dev/random", NULL
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user