mirror of
https://github.com/zeromq/libzmq.git
synced 2025-09-17 19:44:01 +02:00
Problem: getrandom usage breaks build
Solution: add missing flags parameter
This commit is contained in:
parent
98a3bb6f24
commit
3046fe2053
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user