Skip to content
Snippets Groups Projects
  1. Sep 05, 2017
  2. Sep 02, 2017
    • Max Dymond's avatar
      ossfuzz: Move to C++ for curl_fuzzer. · 57001ce3
      Max Dymond authored
      Automake gets confused if you want to use C++ static libraries with C
      code - basically we need to involve the clang++ linker. The easiest way
      of achieving this is to rename the C code as C++ code. This gets us a
      bit further along the path and ought to be compatible with Google's
      version of clang.
      57001ce3
  3. Sep 01, 2017
    • Max Dymond's avatar
      ossfuzz: moving towards the ideal integration · efeb4a31
      Max Dymond authored
      - Start with the basic code from the ossfuzz project.
      - Rewrite fuzz corpora to be binary files full of Type-Length-Value
        data, and write a glue layer in the fuzzing function to convert
        corpora into CURL options.
      - Have supporting functions to generate corpora from existing tests
      - Integrate with Makefile.am
  4. Aug 30, 2017
  5. Aug 28, 2017
    • Johannes Schindelin's avatar
      configure: Handle "MultiSSL" specially When versioning symbols · a330bab3
      Johannes Schindelin authored
      
      There is a mode in which libcurl is compiled with versioned symbols,
      depending on the active SSL backend.
      
      When multiple SSL backends are active, it does not make sense to favor
      one over the others, so let's not: introduce a new prefix for the case
      where multiple SSL backends are compiled into cURL.
      
      Signed-off-by: default avatarJohannes Schindelin <johannes.schindelin@gmx.de>
    • Johannes Schindelin's avatar
      configure: allow setting the default SSL backend · c7170e20
      Johannes Schindelin authored
      
      Previously, we used as default SSL backend whatever was first in the
      `available_backends` array.
      
      However, some users may want to override that default without patching
      the source code.
      
      Now they can: with the --with-default-ssl-backend=<backend> option of
      the ./configure script.
      
      Signed-off-by: default avatarJohannes Schindelin <johannes.schindelin@gmx.de>
    • Johannes Schindelin's avatar
      version: add the CURL_VERSION_MULTI_SSL feature flag · 9d96a5f0
      Johannes Schindelin authored
      
      This new feature flag reports When cURL was built with multiple SSL
      backends.
      
      Signed-off-by: default avatarJohannes Schindelin <johannes.schindelin@gmx.de>
    • Johannes Schindelin's avatar
      vtls: allow selecting which SSL backend to use at runtime · b0989cd3
      Johannes Schindelin authored
      
      When building software for the masses, it is sometimes not possible to
      decide for all users which SSL backend is appropriate.
      
      Git for Windows, for example,  uses cURL to perform clones, fetches and
      pushes via HTTPS, and some users strongly prefer OpenSSL, while other
      users really need to use Secure Channel because it offers
      enterprise-ready tools to manage credentials via Windows' Credential
      Store.
      
      The current Git for Windows versions use the ugly work-around of
      building libcurl once with OpenSSL support and once with Secure Channel
      support, and switching out the binaries in the installer depending on
      the user's choice.
      
      Needless to say, this is a super ugly workaround that actually only
      works in some cases: Git for Windows also comes in a portable form, and
      in a form intended for third-party applications requiring Git
      functionality, in which cases this "swap out libcurl-4.dll" simply is
      not an option.
      
      Therefore, the Git for Windows project has a vested interest in teaching
      cURL to make the SSL backend a *runtime* option.
      
      This patch makes that possible.
      
      By running ./configure with multiple --with-<backend> options, cURL will
      be built with multiple backends.
      
      For the moment, the backend can be configured using the environment
      variable CURL_SSL_BACKEND (valid values are e.g. "openssl" and
      "schannel").
      
      Signed-off-by: default avatarJohannes Schindelin <johannes.schindelin@gmx.de>
  6. Aug 17, 2017
  7. Aug 16, 2017
    • Nick Zitzmann's avatar
      configure: check for __builtin_available() availability (#1788) · 870d849d
      Nick Zitzmann authored
      This change does two things:
      1. It un-breaks the build in Xcode 9.0. (Xcode 9.0 is currently
         failing trying to compile connectx() in lib/connect.c.)
      2. It finally weak-links the connectx() function, and falls back on
         connect() when run on older operating systems.
      870d849d
  8. Aug 10, 2017
  9. Jul 31, 2017
  10. Jul 04, 2017
  11. Jun 15, 2017
  12. Jun 14, 2017
  13. Jun 12, 2017
  14. Jun 07, 2017
  15. Jun 02, 2017
  16. Apr 27, 2017
  17. Apr 25, 2017
  18. Apr 24, 2017
    • Daniel Stenberg's avatar
      configure: fix the -ldl check for openssl, add -lpthread check · c68fed87
      Daniel Stenberg authored
      The check for if -ldl is needed to build with (a statically built)
      openssl was broken. This repairs the check, and adds a check for
      -lpthread as well since OpenSSL 1.1.0+ does in fact require -lpthread so
      only adding -ldl for a static openssl build is no longer enough.
      
      Reported-by: Jay Satiro
      Ref: #1426
      Closes #1427
      c68fed87
  19. Apr 17, 2017
  20. Mar 03, 2017
  21. Mar 02, 2017
  22. Feb 14, 2017
  23. Jan 13, 2017
  24. Dec 25, 2016
  25. Dec 16, 2016
  26. Nov 26, 2016
  27. Nov 11, 2016
  28. Oct 31, 2016
  29. Oct 20, 2016
  30. Oct 18, 2016
    • Daniel Stenberg's avatar
      s/cURL/curl · 0f199632
      Daniel Stenberg authored
      The tool was never called cURL, only the project. But even so, we have
      more and more over time switched to just use lower case.
      0f199632
  31. Sep 24, 2016
  32. Sep 19, 2016
  33. Sep 18, 2016
  34. Aug 25, 2016
  35. Aug 21, 2016
    • Daniel Stenberg's avatar
      configure: make it work without PKG_CHECK_MODULES · 95ded2c5
      Daniel Stenberg authored
      With commit c2f9b78a we added a new dependency on pkg-config for
      developers which may be unwanted. This change make the configure script
      still work as before if pkg-config isn't installed, it'll just use the
      old zlib detection logic without pkg-config.
      
      Reported-by: Marc Hörsken
      
      Fixes #972
      95ded2c5
Loading