Commit e70e39be authored by Pieter Hintjens's avatar Pieter Hintjens

Problem: ctx.cpp still uses old HAVE_LIBSODIUM

I changed this to ZMQ_USE_SODIUM to be consistent with other
configuration options (especially ZMQ_USE_TWEETNACL).

Solution: fix it.
parent 396237f8
......@@ -99,7 +99,7 @@ zmq::ctx_t::ctx_t () :
// allow opening of /dev/urandom
unsigned char tmpbytes[4];
randombytes(tmpbytes, 4);
#elif defined (HAVE_LIBSODIUM)
#elif defined (ZMQ_USE_SODIUM)
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