1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00

Face it, /dev/arandom was removed from OpenBSD a loooooong time ago.

This commit is contained in:
Frank Denis 2013-10-28 10:59:51 -07:00
parent 6af887ed01
commit 82046cbd5e
2 changed files with 2 additions and 2 deletions

View File

@ -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
};

View File

@ -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
};