Skip to content
  1. May 09, 2017
  2. May 08, 2017
    • Jay Satiro's avatar
      rand: treat fake entropy the same regardless of endianness · 1cafede9
      Jay Satiro authored
      When the random seed is purposely made predictable for testing purposes
      by using the CURL_ENTROPY environment variable, process that data in an
      endian agnostic way so the the initial random seed is the same
      regardless of endianness.
      
      - Change Curl_rand to write to a char array instead of int array.
      
      - Add Curl_rand_hex to write random hex characters to a buffer.
      
      Fixes #1315
      Closes #1468
      
      Co-authored-by: Daniel Stenberg
      Reported-by: Michael Kaufmann
      1cafede9
  3. May 07, 2017
  4. May 04, 2017
  5. May 03, 2017
    • Marcel Raad's avatar
      lib: fix compiler warnings · cee39aa3
      Marcel Raad authored
      Fix the following warnings when building the tests by using the correct
      types:
      cast from 'const char *' to 'void *' drops const qualifier
      [-Wcast-qual]
      implicit conversion changes signedness [-Wsign-conversion]
      cee39aa3
  6. May 02, 2017
  7. May 01, 2017
  8. Apr 30, 2017
    • Marcel Raad's avatar
      http2: declare TU-local variables static · dc9e4859
      Marcel Raad authored
      This fixes the following clang warnings:
      
      http2.c:184:27: error: no previous extern declaration for non-static
      variable 'Curl_handler_http2' [-Werror,-Wmissing-variable-declarations]
      http2.c:204:27: error: no previous extern declaration for non-static
      variable 'Curl_handler_http2_ssl'
      [-Werror,-Wmissing-variable-declarations]
      dc9e4859
  9. Apr 29, 2017
    • Marcel Raad's avatar
      curl_rtmp: fix missing-variable-declarations warnings · 65c6caac
      Marcel Raad authored
      clang complains:
      
      curl_rtmp.c:61:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmp' [-Werror,-Wmissing-variable-declarations]
      curl_rtmp.c:81:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpt' [-Werror,-Wmissing-variable-declarations]
      curl_rtmp.c:101:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpe' [-Werror,-Wmissing-variable-declarations]
      curl_rtmp.c:121:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpte' [-Werror,-Wmissing-variable-declarations]
      curl_rtmp.c:141:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmps' [-Werror,-Wmissing-variable-declarations]
      curl_rtmp.c:161:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpts' [-Werror,-Wmissing-variable-declarations]
      
      Fix this by including the header file.
      65c6caac
    • Dan Fandrich's avatar
  10. Apr 27, 2017
  11. Apr 26, 2017
  12. Apr 25, 2017