Commit 8962b7de authored by Frank's avatar Frank

removed return code check for now, got -1 in test_security_curve.

parent 05ab9a84
......@@ -45,8 +45,8 @@ zmq::curve_client_t::curve_client_t (const options_t &options_) :
unsigned char tmpbytes[4];
randombytes(tmpbytes, 4);
#else
const int si = sodium_init();
zmq_assert (si == 0);
// todo check return code
sodium_init();
#endif
// Generate short-term key pair
......
......@@ -50,8 +50,8 @@ zmq::curve_server_t::curve_server_t (session_base_t *session_,
unsigned char tmpbytes[4];
randombytes(tmpbytes, 4);
#else
const int si = sodium_init();
zmq_assert (si == 0);
// todo check return code
sodium_init();
#endif
// Generate short-term key pair
......
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