1. 09 Feb, 2016 1 commit
    • David Benjamin's avatar
      openssl: remove most BoringSSL #ifdefs. · 39c803cb
      David Benjamin authored
      As of https://boringssl-review.googlesource.com/#/c/6980/, almost all of
      BoringSSL #ifdefs in cURL should be unnecessary:
      
      - BoringSSL provides no-op stubs for compatibility which replaces most
        #ifdefs.
      
      - DES_set_odd_parity has been in BoringSSL for nearly a year now. Remove
        the compatibility codepath.
      
      - With a small tweak to an extend_key_56_to_64 call, the NTLM code
        builds fine.
      
      - Switch OCSP-related #ifdefs to the more generally useful
        OPENSSL_NO_OCSP.
      
      The only #ifdefs which remain are Curl_ossl_version and the #undefs to
      work around OpenSSL and wincrypt.h name conflicts. (BoringSSL leaves
      that to the consumer. The in-header workaround makes things sensitive to
      include order.)
      
      This change errs on the side of removing conditionals despite many of
      the restored codepaths being no-ops. (BoringSSL generally adds no-op
      compatibility stubs when possible. OPENSSL_VERSION_NUMBER #ifdefs are
      bad enough!)
      
      Closes #640
      39c803cb
  2. 08 Feb, 2016 13 commits
  3. 07 Feb, 2016 2 commits
  4. 06 Feb, 2016 5 commits
  5. 05 Feb, 2016 3 commits
    • Jay Satiro's avatar
      unit1604: Fix unit setup return code · a6208704
      Jay Satiro authored
      a6208704
    • Jay Satiro's avatar
      9b6598ed
    • Jay Satiro's avatar
      tool_doswin: Improve sanitization processing · 4520534e
      Jay Satiro authored
      - Add unit test 1604 to test the sanitize_file_name function.
      
      - Use -DCURL_STATICLIB when building libcurltool for unit testing.
      
      - Better detection of reserved DOS device names.
      
      - New flags to modify sanitize behavior:
      
      SANITIZE_ALLOW_COLONS: Allow colons
      SANITIZE_ALLOW_PATH: Allow path separators and colons
      SANITIZE_ALLOW_RESERVED: Allow reserved device names
      SANITIZE_ALLOW_TRUNCATE: Allow truncating a long filename
      
      - Restore sanitization of banned characters from user-specified outfile.
      
      Prior to this commit sanitization of a user-specified outfile was
      temporarily disabled in 2b6dadc5 because there was no way to allow path
      separators and colons through while replacing other banned characters.
      Now in such a case we call the sanitize function with
      SANITIZE_ALLOW_PATH which allows path separators and colons to pass
      through.
      
      
      Closes https://github.com/curl/curl/issues/624
      Reported-by: Octavio Schroeder
      4520534e
  6. 04 Feb, 2016 3 commits
  7. 03 Feb, 2016 4 commits
  8. 02 Feb, 2016 4 commits
  9. 01 Feb, 2016 3 commits
  10. 29 Jan, 2016 2 commits