Commit 874c346c authored by Chris-P-Bacon's avatar Chris-P-Bacon

Typo in define for libsodium

Since ZMQ_USE_SODIUM is nowhere defined i guess it's meant to be ZMQ_USE_LIBSODIUM?
parent 99373ff0
...@@ -96,7 +96,7 @@ zmq::ctx_t::ctx_t () : ...@@ -96,7 +96,7 @@ zmq::ctx_t::ctx_t () :
// allow opening of /dev/urandom // allow opening of /dev/urandom
unsigned char tmpbytes[4]; unsigned char tmpbytes[4];
randombytes(tmpbytes, 4); randombytes(tmpbytes, 4);
#elif defined (ZMQ_USE_SODIUM) #elif defined (ZMQ_USE_LIBSODIUM)
int rc = sodium_init (); int rc = sodium_init ();
zmq_assert (rc != -1); zmq_assert (rc != -1);
#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