Commit 6630a7ce authored by Luca Boccassi's avatar Luca Boccassi

Merge pull request #1873 from edigaryev/fix-urandom-chroot

Problem: build fails when CURVE security is disabled
parents c71bb5fd 8673fa7b
......@@ -99,7 +99,7 @@ zmq::ctx_t::ctx_t () :
// allow opening of /dev/urandom
unsigned char tmpbytes[4];
randombytes(tmpbytes, 4);
#else
#elif defined (HAVE_LIBSODIUM)
int rc = sodium_init ();
zmq_assert (rc != -1);
#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