Skip to content
Snippets Groups Projects
  1. Nov 06, 2014
    • Steve Holme's avatar
      tests: Don't run HTTP digest tests for SSPI based builds · b5c496f1
      Steve Holme authored
      Added !SSPI to the features list of the HTTP digest tests, as SSPI
      based builds now use the Windows SSPI messaging API rather than the
      internal functions, and we can't control the random numbers that get
      used as part of the digest.
      b5c496f1
  2. Nov 04, 2014
  3. Nov 01, 2014
  4. Oct 27, 2014
  5. Oct 26, 2014
  6. Oct 16, 2014
    • Daniel Stenberg's avatar
      test545: make it not use a trailing zero · d938d5e6
      Daniel Stenberg authored
      CURLOPT_COPYPOSTFIELDS with a given CURLOPT_POSTFIELDSIZE does not
      require a trailing zero of the data and by making sure this test doesn't
      use one we know it works (combined with valgrind).
      d938d5e6
  7. Oct 13, 2014
  8. Oct 09, 2014
  9. Oct 07, 2014
    • Travis Burtrum's avatar
      SSL: implement public key pinning · 93e45079
      Travis Burtrum authored
      Option --pinnedpubkey takes a path to a public key in DER format and
      only connect if it matches (currently only implemented with OpenSSL).
      
      Provides CURLOPT_PINNEDPUBLICKEY for curl_easy_setopt().
      
      Extract a public RSA key from a website like so:
      openssl s_client -connect google.com:443 2>&1 < /dev/null | \
      sed -n '/-----BEGIN/,/-----END/p' | openssl x509 -noout -pubkey \
      | openssl rsa -pubin -outform DER > google.com.der
      93e45079
  10. Sep 25, 2014
  11. Sep 10, 2014
  12. Sep 07, 2014
  13. Aug 15, 2014
  14. Jul 26, 2014
  15. Jul 15, 2014
    • Daniel Stenberg's avatar
      test506: verify aa688484 · 4cb25215
      Daniel Stenberg authored
      After the fixed cookie lock deadlock, this test now passes and it
      detects double-locking and double-unlocking of mutexes.
      4cb25215
  16. Jul 14, 2014
  17. Jul 11, 2014
  18. Jun 15, 2014
  19. Jun 11, 2014
    • Daniel Stenberg's avatar
      NTLM: set a fake entropy for debug builds with CURL_ENTROPY set · e95ca7ce
      Daniel Stenberg authored
      Curl_rand() will return a dummy and repatable random value for this
      case. Makes it possible to write test cases that verify output.
      
      Also, fake timestamp with CURL_FORCETIME set.
      
      Only when built debug enabled of course.
      
      Curl_ssl_random() was not used anymore so it has been
      removed. Curl_rand() is enough.
      
      create_digest_md5_message: generate base64 instead of hex string
      
      curl_sasl: also fix memory leaks in some OOM situations
      e95ca7ce
    • Steve Holme's avatar
      tests: Disabled NTLM tests for non-debug builds · ceacbacd
      Steve Holme authored
      Added required "debug" feature, missed in commit 1c9aaa0b, as NTLMv2
      calls Curl_rand() which can only be fixed to a specific entropy in
      debug builds.
      ceacbacd
  20. Jun 01, 2014
  21. May 18, 2014
  22. May 11, 2014
  23. May 09, 2014
  24. May 04, 2014
    • Daniel Stenberg's avatar
      mprintf: allow %.s with data not being zero terminated · 812da419
      Daniel Stenberg authored
      If the precision is indeed shorter than the string, don't strlen() to
      find the end because that's not how the precision operator works.
      
      I also added a unit test for curl_msnprintf to make sure this works and
      that the fix doesn't a few other basic use cases. I found a POSIX
      compliance problem that I marked TODO in the unit test, and I figure we
      need to add more tests in the future.
      
      Reported-by: Török Edwin
      812da419
  25. Apr 23, 2014
  26. Apr 18, 2014
  27. Apr 06, 2014
  28. Apr 04, 2014
Loading