Skip to content
  1. Feb 09, 2016
    • Daniel Stenberg's avatar
    • 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. Feb 08, 2016
  3. Feb 07, 2016
  4. Feb 06, 2016
  5. Feb 05, 2016
    • 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. Feb 04, 2016
  7. Feb 03, 2016
  8. Feb 02, 2016
  9. Feb 01, 2016
  10. Jan 29, 2016