Problem: getrandom usage breaks build

Solution: add missing flags parameter
This commit is contained in:
Luca Boccassi 2017-08-06 19:58:38 +01:00 committed by Jim Klimov
parent 98a3bb6f24
commit 3046fe2053

View File

@ -933,7 +933,7 @@ void randombytes (unsigned char *x,unsigned long long xlen)
i = 1048576;
#ifdef ZMQ_HAVE_GETRANDOM
i = getrandom (x, i);
i = getrandom (x, i, 0);
#else
i = read(fd,x,i);
#endif