Commit 3046fe20 authored by Luca Boccassi's avatar Luca Boccassi Committed by Jim Klimov

Problem: getrandom usage breaks build

Solution: add missing flags parameter
parent 98a3bb6f
...@@ -933,7 +933,7 @@ void randombytes (unsigned char *x,unsigned long long xlen) ...@@ -933,7 +933,7 @@ void randombytes (unsigned char *x,unsigned long long xlen)
i = 1048576; i = 1048576;
#ifdef ZMQ_HAVE_GETRANDOM #ifdef ZMQ_HAVE_GETRANDOM
i = getrandom (x, i); i = getrandom (x, i, 0);
#else #else
i = read(fd,x,i); i = read(fd,x,i);
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment