- 18 Aug, 2017 2 commits
-
-
Luca Boccassi authored
Solution: use it before falling back to headers checks
-
sigiesec authored
Solution: extracted common base class curve_mechanism_base_t
-
- 17 Aug, 2017 2 commits
- 16 Aug, 2017 2 commits
-
-
sigiesec authored
Solution: created a zap_client_t class, extracted first function send_zap_request from curve_server_t
-
Luca Boccassi authored
Solution: add all the required compiler flags since the test includes source code from the library directly
-
- 15 Aug, 2017 1 commit
-
-
Simon Giesecke authored
* Extracted connect_vanilla_socket function * Problem: no tests for ZMTP-CURVE protocol errors Solution: added two test cases with erroneous HELLO commands * Problem: insufficient tests for ZMTP-CURVE protocol errors Solution: added two test cases with erroneous HELLO command version * Problem: test HELLO message is invalid apart from deliberate errors Solution: create cryptographically correct HELLO message add tweetnacl.c to test_security_curve * Problem: nonce is incorrect, build fails with GCC Solution: use correct non prefix * Problem: make builds are failing Solution: transfer CMake changes to (auto)make files * Problem: nonce is incorrect, build fails with GCC Solution: use correct non prefix * Problem: make builds are failing Solution: transfer CMake changes to (auto)make files * Problem: no test with INITIATE command with invalid length Solution: added test case * Problem: code duplication between test_security_curve.cpp and curve_client.cpp Solution: extracted parts of zmq::curve_client_t::produce_hello into reusable function * Problem: code duplication between test_security_curve.cpp and curve_client.cpp Solution: extracted further parts of zmq::curve_client_t into reusable functions added missing file * Problem: mechanism_t::add_property can be declared static Solution: declare mechanism_t::add_property static * Problem: intermediate crypto data needs to be passed between static function calls to curve_client_tools_t Solution: add non-static member functions * Problem: msg_t instance may be closed twice Solution: remove offending close * Problem: prepare_hello uses static curve_client_tools_t::produce_hello Solution: Use non-static curve_client_tools_t::produce_hello * Problem: no test with invalid command name where INITIATE command is expected Solution: added test case * Problem: make builds are failing due to curve_client_tools.hpp not being found Solution: add curve_client_tools.hpp to list of source files * Problem: wrong initializer order in zmq::curve_client_t Solution: reorder * Problem: under non-Windows systems, test fails because random_open was not called Solution: call random_open/random_close within test * Problem: conflict between custom function htonll and macro definition on Darwin Solution: define htonll function only if not defined as a macro * Problem: nullptr not defined on all platforms Solution: replace nullptr by NULL * Problem: libsodium builds not working Solution: adapt compile and link file sets for libsodium builds * Problem: Makefile.am broken Solution: Fix syntax * Problem: no tests for garbage encrypted cookie or content in INITIATE Solution: added test cases * Problem: test cases accidentally excluded from build Solution: remove #if/#endif * Solution: some error cases are unreachable Problem: for the time being, added some comments without changing the code * Added comments on hard-to-test cases
-
- 01 May, 2017 1 commit
-
-
Luca Boccassi authored
Solution: mark it as XFAIL. We tried many times to tweak the system settings from the CI script but it still fails.
-
- 26 Apr, 2017 1 commit
-
-
Jim Garlick authored
Problem: there is no test coverage for GSSAPI. Solution: add a test structured like the CURVE test. The test is not built if libzmq is not configured with --with-libgssapi_krb5. It will report SKIPPED status if the required environment is missing (see below). Environment: KRB5_KTNAME and KRB5_CLIENT_KTNAME environment variables must point to a keytab file containing creds for a host-based test principal (see comment at top of source for details). Kerberos must be configured and a KDC containing the test principal must be running, otherwise the test will fail/hang. N.B. For now, the test must use the same principal for both client and server roles because it seems impossible to set them to different principals when they are threads in the same process. Once one principal is cached in credential cache, attempts to acquire creds for a different "desired name" seem to be ignored and the cached principal is used instead.
-
- 07 Feb, 2017 1 commit
-
-
Sylvain Corlay authored
-
- 15 Dec, 2016 1 commit
-
-
Luca Boccassi authored
Solution: add one
-
- 24 Sep, 2016 1 commit
-
-
Luca Boccassi authored
Solution: add one to increase coverage
-
- 20 Sep, 2016 1 commit
-
-
Laughing authored
add a new poller named pollset which will get benefit of performance in AIX platform.
-
- 01 Sep, 2016 1 commit
-
-
Luca Boccassi authored
Solution: include src/version.rc.in and tests/CMakeLists.txt in the make dist tarball by adding them to makefile.am EXTRA_DIST list.
-
- 31 Jul, 2016 1 commit
-
-
Luca Boccassi authored
Solution: stop autogenerating it and hard code version so that the OBS build service can extract it and use it to build packages automatically
-
- 19 May, 2016 1 commit
-
-
evoskuil authored
-
- 15 May, 2016 3 commits
-
-
Bitiquinho authored
-
Bitiquinho authored
-
Bitiquinho authored
-
- 14 May, 2016 3 commits
- 08 May, 2016 1 commit
-
-
hitstergtd authored
Solution: - Add file for testing ancillary API methods and any misc internal machinery - Add tests for zmq_version(3) and zmq_strerror(3) - Add test file into gitignore, Autotools and CMake build files - Increase test coverage Note: MSVC solution files have not been updated.
-
- 06 May, 2016 1 commit
-
-
Luca Boccassi authored
Solution: add an optional dependency on libunwind, and if present use it to print the backtrace when zmq_abort is called.
-
- 04 May, 2016 1 commit
-
-
hitstergtd authored
Solution: Remove until such time that a new and appropriate file can replace it should it be deemed necessary.
-
- 02 May, 2016 6 commits
-
-
Luca Boccassi authored
Solution: mark them as DRAFT APIs
-
Luca Boccassi authored
Solution: mark them as DRAFT APIs
-
Luca Boccassi authored
Solution: mark them as DRAFT APIs
-
Luca Boccassi authored
Solution: mark them as DRAFT APIs
-
Luca Boccassi authored
Solution: mark them as DRAFT APIs
-
Luca Boccassi authored
Solution: add support for --enable-drafts/ENABLE_DRAFTS=ON in Autools and CMake.
-
- 26 Apr, 2016 1 commit
-
-
hitstergtd authored
Solution: - add it to Makefile.am
-
- 21 Apr, 2016 2 commits
-
-
Luca Boccassi authored
Solution: move it to the unix-only section of Makefile.am and tests/CMakeLists.txt since it uses Unix IPC sockets.
-
somdoron authored
-
- 02 Apr, 2016 1 commit
-
-
Frederic Tregon authored
Problem: Since pull request #1730 was merged, protocol for REQ socket is checked at the session level and this check does not take into account the possibility of a request_id being part of the message. Thus the option ZMQ_REQ_CORRELATE would no longer work. This is now fixed: the possiblity of a 4 bytes integer being present before the delimiter frame is taken into account (whether or not this breaks the REQ/REP RFC is another issue).
-
- 19 Mar, 2016 3 commits
-
-
Luca Boccassi authored
Solution: do not run test_fork if --enable-valgrind is set. Note that later versions of Valgrind (3.11) not yet available in all distributions fix this problem, so we might revert in the future.
-
Luca Boccassi authored
Solution: update builds/valgrind/valgrind.supp to ignore glibc's __libc_freeres calls. This code runs after the program exits, and tries to de-allocate memory allocated internally by glibc, so it has nothing to do with libzmq code. This suppression is added by default in newer versions of Valgrind, not yet available on older distributions.
-
Luca Boccassi authored
Solution: import ax_valgrind_check.m4 macro file to provide a conveniente automake hook to run Valgrind on all tests. Add --enable-valgrind to ./configure call and then run make check-valgrind to run memcheck, helgrind, drd and sgcheck on all tests. Run check-valgrind-memcheck to run only memcheck.
-
- 16 Mar, 2016 1 commit
-
-
Luca Boccassi authored
Solution: remove temporarily until proper message limits have been implemented, then a more granular test case can be added without such high requirements which are problematic in embedded environment, build systems, VMs and CI systems
-
- 13 Mar, 2016 1 commit
-
-
Luca Boccassi authored
Solution: import ax_code_coverage.m4 from autoconf-archive and use it in configure.ac and Makefile.am in order to provide a make check-code-coverage target behind a --enable-code-coverage configure flag, that can be used to generate a gcov/lcov code coverage report. Depends on having gcov and lcov installed.
-