- Oct 24, 2014
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
... for the local variable name in functions holding the return code. Using the same name universally makes code easier to read and follow. Also, unify code for checking for CURLcode errors with: if(result) or if(!result) instead of if(result == CURLE_OK), if(CURLE_OK == result) or if(result != CURLE_OK)
-
Daniel Stenberg authored
Detected by cppcheck.
-
Daniel Stenberg authored
Detected by cppcheck.
-
Daniel Stenberg authored
Variable already assigned a few lines up. Detected by cppcheck.
-
Daniel Stenberg authored
The variable is already assigned, skip the duplicate assignment. Pointed out by cppcheck.
-
Guenter Knauf authored
-
- Oct 23, 2014
-
-
Guenter Knauf authored
-
Guenter Knauf authored
-
Guenter Knauf authored
Prefer usage of Perl modules for sha1 calculation since there might be systems where openssl is not installed or not in path. If openssl is used for sha1 calculation then dont rely on cut since it is usually not available on other systems than Linux.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Bug: http://curl.haxx.se/bug/view.cgi?id=1437 Reported-by: Julien
-
Daniel Stenberg authored
This is not actually used uninitialized but we silence warnings. Bug: http://curl.haxx.se/bug/view.cgi?id=1437 Reported-by: Julien
-
- Oct 21, 2014
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
... and added a small example
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Oct 20, 2014
-
-
Kamil Dudka authored
... when the handshake succeeds This fixes a connection failure when FTPS handle is reused.
-
Peter Wu authored
Initial work to generate a pkg-config and curl-config script. Static linking (`curl-config --static-libs` and `pkg-config --shared --libs libcurl`) is broken and therefore disabled. CONFIGURE_OPTIONS does not make sense for CMake, use an empty string for now. At least `curl-config --features` and `curl-config --protocols` work which is needed by runtests.pl. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
-
Peter Wu authored
This matches the behavior from autotools. The auxiliary major, minor and patch components are not needed anymore and therefore removed. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
-
Peter Wu authored
For compatibility with autoconf, it will be used later for curl-config and pkg-config. Not all features and or protocols can be enabled as these are missing additional checks (see new TODOs). SUPPORT_PROTOCOLS is partially scripted (grep for SUPPORT_PROTOCOLS=) and manually verified/modified. SUPPORT_FEATURES is manually added. Signed-off-by: Peter Wu <peter@lekensteyn.nl>
-
- Oct 17, 2014
-
-
Daniel Stenberg authored
-
- Oct 16, 2014
-
-
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).
-
Steve Holme authored
Updated the info text when the base-64 decode of the type-2 message returns a null buffer to be more specific.
-
Steve Holme authored
-
Steve Holme authored
-
Daniel Stenberg authored
... and only do a single request for clarity.
-
- Oct 15, 2014
-
-
Steve Holme authored
-
Steve Holme authored
-
Bruno Thomsen authored
Certificates based on SHA-1 are being phased out[1]. So we should expect a rise in certificates based on SHA-2. Adding SHA-384 as a valid signature algorithm. [1] https://blog.mozilla.org/security/2014/09/23/phasing-out-certificates-with-sha-1-based-signature-algorithms/ Signed-off-by: Bruno Thomsen <bth@kamstrup.dk>
-
- Oct 14, 2014
-
-
Patrick Monnerat authored
-
Patrick Monnerat authored
-