mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
-very theoretically, 0 would be OK, too
This commit is contained in:
@@ -359,7 +359,7 @@ gen_good_rnd (void *rnd_buf, size_t rnd_buf_size)
|
||||
if (1)
|
||||
{
|
||||
const int urand_fd = open ("/dev/urandom", O_RDONLY);
|
||||
if (0 < urand_fd)
|
||||
if (0 <= urand_fd)
|
||||
{
|
||||
size_t pos = 0;
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user