0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-17 04:50:57 +08:00

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

This commit is contained in:
Frank 2014-05-09 00:03:45 +02:00
parent 05ab9a848f
commit 8962b7de45
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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