mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 18:40:27 +01:00
Problem: build fails when CURVE security is disabled
Solution: use proper preprocessor macro
This commit is contained in:
parent
884e00cb4a
commit
8673fa7b03
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user