mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 12:36:01 -07:00
Face it, /dev/arandom was removed from OpenBSD a loooooong time ago.
This commit is contained in:
parent
6af887ed01
commit
82046cbd5e
@ -108,7 +108,7 @@ randombytes_salsa20_random_random_dev_open(void)
|
|||||||
{
|
{
|
||||||
static const char * const devices[] = {
|
static const char * const devices[] = {
|
||||||
# ifndef USE_BLOCKING_RANDOM
|
# ifndef USE_BLOCKING_RANDOM
|
||||||
"/dev/arandom", "/dev/urandom",
|
"/dev/urandom",
|
||||||
# endif
|
# endif
|
||||||
"/dev/random", NULL
|
"/dev/random", NULL
|
||||||
};
|
};
|
||||||
|
@ -68,7 +68,7 @@ randombytes_sysrandom_random_dev_open(void)
|
|||||||
{
|
{
|
||||||
static const char * const devices[] = {
|
static const char * const devices[] = {
|
||||||
# ifndef USE_BLOCKING_RANDOM
|
# ifndef USE_BLOCKING_RANDOM
|
||||||
"/dev/arandom", "/dev/urandom",
|
"/dev/urandom",
|
||||||
# endif
|
# endif
|
||||||
"/dev/random", NULL
|
"/dev/random", NULL
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user