(get_device_fd): use /dev/urandom first.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17522 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -127,9 +127,9 @@ static int
|
|||||||
get_device_fd(int flags)
|
get_device_fd(int flags)
|
||||||
{
|
{
|
||||||
static const char *rnd_devices[] = {
|
static const char *rnd_devices[] = {
|
||||||
|
"/dev/urandom",
|
||||||
"/dev/random",
|
"/dev/random",
|
||||||
"/dev/srandom",
|
"/dev/srandom",
|
||||||
"/dev/urandom",
|
|
||||||
"/dev/arandom",
|
"/dev/arandom",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user