mirror of
https://github.com/zeromq/libzmq.git
synced 2025-02-25 07:41:10 +01:00
Typo in define for libsodium
Since ZMQ_USE_SODIUM is nowhere defined i guess it's meant to be ZMQ_USE_LIBSODIUM?
This commit is contained in:
parent
99373ff0b4
commit
874c346c20
@ -96,7 +96,7 @@ zmq::ctx_t::ctx_t () :
|
||||
// allow opening of /dev/urandom
|
||||
unsigned char tmpbytes[4];
|
||||
randombytes(tmpbytes, 4);
|
||||
#elif defined (ZMQ_USE_SODIUM)
|
||||
#elif defined (ZMQ_USE_LIBSODIUM)
|
||||
int rc = sodium_init ();
|
||||
zmq_assert (rc != -1);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user