- 27 Jan, 2020 2 commits
-
-
Simon Giesecke authored
Solution: use static_cast instead
-
Simon Giesecke authored
Solution: add const
-
- 17 Feb, 2019 1 commit
-
-
Luca Boccassi authored
Solution: name it ZMQapp instead of ZMQbg, as it's created by the application
-
- 26 May, 2018 2 commits
-
-
Simon Giesecke authored
Solution: configured clang-tidy check and applied fixes
-
Simon Giesecke authored
Solution: define and apply parameter naming style: lower_case_
-
- 18 May, 2018 1 commit
-
-
Simon Giesecke authored
Solution: replace by C++-style casts
-
- 09 Feb, 2018 1 commit
-
-
sigiesec authored
Solution: relaxed test assertions, based on the actual time passed, instead of assuming that this equals to the time slept
-
- 02 Feb, 2018 1 commit
-
-
sigiesec authored
Solution: applied clang-format
-
- 16 Nov, 2017 1 commit
-
-
ccpaging authored
-
- 28 Jul, 2017 1 commit
-
-
Luca Boccassi authored
Solution: add a crypto [de-]initialiser, refcounted and serialised through critical sections. This is necessary as utility APIs such as zmq_curve_keypair also call into the sodium/tweetnacl libraries and need the initialisation outside of the zmq context. Also the libsodium documentation explicitly says that sodium_init must not be called concurrently from multiple threads, which could have happened until now. Also the randombytes_close function does not appear to be thread safe either. This change guarantees that the library is initialised only once at any given time across the whole program. Fixes #2632
-
- 27 Mar, 2017 2 commits
-
-
Thomas Braun authored
Solution: Use the appropriate assertion macro.
-
Thomas Braun authored
Solution: Pass (std::nothrow) as done in all other places.
-
- 23 Mar, 2017 1 commit
-
-
evoskuil authored
-
- 16 Mar, 2017 1 commit
-
-
Goswin von Brederlow authored
-
- 25 Jan, 2017 1 commit
-
-
sigiesec authored
* Problem: zmq_z85_decode does not validate its input Solution: added checks for invalid characters and overflows * Added tests, added further check for range overflow, removed (multiple) calls to strlen * Problem: gcc fails to build Solution: added missing include directive * Added VS2015 test_utils_z85 project * Fixed indentation and copyright notice * Resolved garbage from merge * Revert "Added VS2015 test_utils_z85 project" This reverts commit c58b3c664c144326e77135aa1184b6f0dee11143. * Problem: test calls zmq_z85_decode with a NULL dest Solution: call zmq_z85_decode with a properly sized buffer * Problem: tests for zmq_z85_* scattered over two files Solution: merged files * Removed reference to removed test file from CMakeLists.txt * Problem: Missing include directive to stdint.h Solution: Added include directive * Define __STDC_LIMIT_MACROS before including stdint.h * Problem: Wrong variable is checked for invalid character marker Solution: Use correct variable
-
- 19 May, 2016 2 commits
- 14 May, 2016 1 commit
-
-
evoskuil authored
-
- 25 Apr, 2016 1 commit
-
-
hitstergtd authored
Solution: fix them
-
- 30 Mar, 2016 1 commit
-
-
Pieter Hintjens authored
Solution: use ZMQ_USE_LIBSODIUM to match ZMQ_USE_TWEETNACL
-
- 18 Feb, 2016 1 commit
-
-
Osiris authored
Solution: Phase I - make precompiled.hpp be first file included in every source file
-
- 11 Feb, 2016 2 commits
-
-
Pieter Hintjens authored
- they have no copyright / license statement - they are in some randomish directory structure - they are a mix of postable and non-portable files - they do not conform to conditional compile environment Overall, it makes it rather more work than needed, in build scripts. Solution: clean up tweetnacl sauce. - merged code into single tweetnacl.c and .h - standard copyright header, DJB to AUTHORS - moved into src/ along with all other source files - all system and conditional compilation hidden in these files - thus, they can be compiled and packaged in all cases - ZMQ_USE_TWEETNACL is set when we're using built-in tweetnacl - HAVE_LIBSODIUM is set when we're using external libsodium
-
Pieter Hintjens authored
It's unclear which we need and in the source code, conditional code treats tweetnacl as a subclass of libsodium, which is inaccurate. Solution: redesign the configure/cmake API for this: * tweetnacl is present by default and cannot be enabled * libsodium can be enabled using --with-libsodium, which replaces the built-in tweetnacl * CURVE encryption can be disabled entirely using --enable-curve=no The macros we define in platform.hpp are: ZMQ_HAVE_CURVE 1 // When CURVE is enabled HAVE_LIBSODIUM 1 // When we are using libsodium HAVE_TWEETNACL 1 // When we're using tweetnacl (default) As of this patch, the default build of libzmq always has CURVE security, and always uses tweetnacl.
-
- 01 Feb, 2016 1 commit
-
-
Constantin Rack authored
Solution: remove all remaining references to `zmq_utils.h`
-
- 28 Jan, 2016 1 commit
-
-
Constantin Rack authored
Solution: update to 2016
-
- 21 Aug, 2015 1 commit
-
-
Joe Eli McIlvain authored
Solution: Move the macros to a private header.
-
- 16 Aug, 2015 1 commit
-
-
reza.ebrahimi authored
-
- 02 Jun, 2015 1 commit
-
-
Pieter Hintjens authored
Of course people still "can" distributed the sources under the LGPLv3. However we provide COPYING.LESSER with additional grants. Solution: specify these grants in the header of each source file.
-
- 22 Apr, 2015 1 commit
-
-
evoskuil authored
-
- 22 Jan, 2015 1 commit
-
-
Pieter Hintjens authored
Solution: update for 2015 Fixes #1320
-
- 23 Dec, 2014 2 commits
-
-
Pieter Hintjens authored
zmq_atomic_counter_dec returned a 'bool' value, yet this isn't defined by standard, so causes compile errors in upstream code. Solution: return an int that can be safely converted to bool if needed by bindings.
-
Pieter Hintjens authored
Solution: as libzmq already provides this across all platforms, expose an atomic counter API. I've not wrapped atomic pointers, though someone who needs this may want to do so.
-
- 13 Aug, 2014 1 commit
-
-
Kapp Arnaud authored
-
- 01 May, 2014 1 commit
-
-
Frank authored
-
- 18 Jan, 2014 1 commit
-
-
Matt Arsenault authored
-
- 02 Jan, 2014 1 commit
-
-
Pieter Hintjens authored
-
- 04 Nov, 2013 2 commits
-
-
Pieter Hintjens authored
-
Pieter Hintjens authored
-
- 29 Sep, 2013 2 commits