- 02 Apr, 2018 1 commit
-
-
Luca Boccassi authored
Solution: change comments Fixes: #3036
-
- 10 Mar, 2018 2 commits
-
-
Luca Boccassi authored
Solution: commit clang-format-diff
-
Luca Boccassi authored
Solution: add pragma to make clang-format ignore the external code
-
- 07 Aug, 2017 1 commit
-
-
Luca Boccassi authored
Solution: add missing flags parameter
-
- 28 Jul, 2017 3 commits
-
-
Luca Boccassi authored
Solution: if available use the getrandom function as it doesn't require any synchronization, state or cleanup
-
Luca Boccassi authored
Solution: open with O_CLOEXEC if available or set FD_CLOEXEC if not
-
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 Jul, 2017 1 commit
-
-
Luca Boccassi authored
Solution: fix it
-
- 17 Sep, 2016 1 commit
-
-
Constantin Rack authored
Solution: replace tabes with spaces
-
- 14 Sep, 2016 1 commit
-
-
Kouhei Sutou authored
Solution: Use only lower case for header file name. We can find "wincrypt.h" by "WinCrypt.h" on Windows because Windows uses case insensitive file system. But we can't find "wincrypt.h" by "WinCrypt.h" on Linux Because Linux uses case sensitive file system.
-
- 14 May, 2016 1 commit
-
-
evoskuil authored
-
- 25 Apr, 2016 1 commit
-
-
hitstergtd authored
Solution: fix them
-
- 12 Apr, 2016 1 commit
-
-
Luca Boccassi authored
Solution: check for GCC version before using pragma diagnostic in src/tweetnacl.c to avoid an additional warning.
-
- 04 Mar, 2016 1 commit
-
-
OBATA Akio authored
-
- 19 Feb, 2016 2 commits
-
-
Luca Boccassi authored
Solution: remove it
-
Pieter Hintjens authored
Solution: disable the warnings on this file only We use pragmas wrapped in compiler conditionals. This will need extending to non-gcc/msvc compilers. We could also fix the warnings in the code, though I suspect it's not really possible.
-
- 17 Feb, 2016 1 commit
-
-
Pieter Hintjens authored
libzmq used to switch off pedantic checks when using tweetnacl. As this is now the default, that means pedantic checks are always off. This is not good. Solution: in tweetnacl.c alone, use a GCC pragma to disable sign comparison warnings. We could also clean the code up yet this is simpler. In other code, we still want those warnings, hence I've used a pragma rather than global compile option. Second, use -Wno-long-long all the time, as this warning does not work with a pragma. I removed code that set -wno-long-long, for MinGW and Solaris. Related problem 2: --with-relaxed is badly named This option switches off pedantic checks, so should be called --disable-pedantic. 'with' is for optional packages.
-
- 11 Feb, 2016 1 commit
-
-
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
-
- 03 Jul, 2014 1 commit
-
-
Rodrigo Mosconi authored
-
- 01 May, 2014 2 commits