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