30 Commits (d31d635af1bdaafcc5d5b27ea6374c5a2952e490)

Author SHA1 Message Date
  Rosen Penev 66f7869219 rename WIN32 to _WIN32 2 years ago
  Even Rouault f6c8eba84e
random_seed.c: add a Coverity Scan suppression 1 year ago
  Even Rouault 57ea393004
get_time_seed(): silence warning emitted by Coverity Scan static analyzer 3 years ago
  Kizuna-Meraki d783ad76c7 Close file on error path. 3 years ago
  Robert Bielik 286b4fdd27 Fix uninitialized value error for clang-8 msan 3 years ago
  Philosoph228 9c0565100a
random_seed: fix unused variable for win32 build 4 years ago
  Eric Haszlakiewicz f787810890 If arc4random is used, don't bother compiling in the other fallback methods since they'll never be used. Fixes PR#695 about unreachable code too. 4 years ago
  Eric Haszlakiewicz 0f61f6921b Iesue #692: use arc4random() if it's available (in libc on BSD systems, and libbsd on Linux). 4 years ago
  Pierce Lopez 0fd3b7d316 random_seed: on error, continue to next method 5 years ago
  Tobias Stoeckmann df62119b7f Prevent signed overflow in get_time_seed 5 years ago
  Tobias Stoeckmann f052e42f56 Use GRND_NONBLOCK with getrandom. 5 years ago
  Alan Coopersmith 6cf4847796 Use getrandom() if available in json_c_get_random_seed 5 years ago
  Eric Haszlakiewicz 730e3d044f Issue #594 - provide an OVERRIDE_GET_RANDOM_SEED cmake variable to override json_c_get_random_seed() for embedded platforms where time(NULL) doesn't work. 5 years ago
  Gianluigi Tiesi 481d0a8ede get_cryptgenrandom_seed: compat with old windows + fallback 5 years ago
  Eric Haszlakiewicz 8086314026 Issue #589: drop the rdrand test loops to just 3, tweak comments and add some links to bug reports, and decrease the nesting level of the has_rdrand() function. 5 years ago
  Tudor Brindus 4d36b0287d Detect broken RDRAND during initialization 5 years ago
  Tudor Brindus 0e5bbcaa16 Fix segmentation fault in CPUID check 5 years ago
  Eric Haszlakiewicz 5e19c26cae Don't let clang-format rearrange Windows includes, since they need to be in a particular order. 5 years ago
  Eric Haszlakiewicz 9acc4e9d71 Format random_seed.c with clang-format, with key asm sections excluded. 5 years ago
  Eric Haszlakiewicz 7f30afc6e5 Fix some Windows compile issues, add JSON_EXPORT's, fix bogus character escapes, define __func__ and omit unistd.h if needed. 5 years ago
  Rubasri Kalidas 3003161eff Fix compiler warnings 6 years ago
  Haffon 3141c3976b 1.make it can been compiled with Visual Studio 2010 8 years ago
  Alexandru Ardelean fb72160caf build: make `strerror()` override-able 8 years ago
  James Myatt bf32650c83 Add missing include file to random_seed 10 years ago
  Eric Haszlakiewicz 9db3099572 Merge pull request #156 from jubalh/master 10 years ago
  Eric Haszlakiewicz 2c722277ee Merge pull request #150 from ams-cs/master 11 years ago
  Michael Vetter fcf5ad1bd6 Remove trailing whitespace 11 years ago
  Andrew Stubbs ca0ebe0f71 Fix build using MinGW. 11 years ago
  Alexandru Costache 4841c48f81 Removed duplicate check in random_seed test - bug #140 11 years ago
  Michael Clark 64e36901a0 Patch to address the following issues: 11 years ago