mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-23 21:37:46 +00:00
Problem: does not build on Windows with libsodium
Solution: fixed wrong condition around randombytes_close ().
This commit is contained in:
parent
98834596f1
commit
bbe4f3ede4
@ -111,7 +111,7 @@ zmq::ctx_t::~ctx_t ()
|
||||
|
||||
// If we've done any Curve encryption, we may have a file handle
|
||||
// to /dev/urandom open that needs to be cleaned up.
|
||||
#ifdef HAVE_LIBSODIUM
|
||||
#if defined (ZMQ_USE_TWEETNACL)
|
||||
randombytes_close();
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user