]>
granicus.if.org Git - curl/log
Steve Holme [Sat, 1 Nov 2014 16:16:56 +0000 (16:16 +0000)]
openssl: Use 'CURLcode result'
...and some minor code style changes.
Steve Holme [Sat, 1 Nov 2014 12:06:03 +0000 (12:06 +0000)]
ftplistparser: We prefer 'CURLcode result'
Steve Holme [Fri, 31 Oct 2014 22:22:19 +0000 (22:22 +0000)]
opts: Use common wording for user/password option names
Steve Holme [Fri, 31 Oct 2014 13:06:47 +0000 (13:06 +0000)]
CURLOPT_CONNECT_ONLY.3: Removed "This option is implemented for..." text
As this is covered by the PROTOCOLS section and saves having to update
two parts of the document with the same information in future.
Steve Holme [Fri, 31 Oct 2014 12:47:40 +0000 (12:47 +0000)]
CURLOPT_GSSAPI_DELEGATION.3: Use GSS-API rather than GSSAPI
As implementations are refereed to GSS-API libraries as per the RFC and
GSSAPI typically refers to an authentication mechanism.
Steve Holme [Fri, 31 Oct 2014 12:44:43 +0000 (12:44 +0000)]
CURLOPT_CONNECT_ONLY.3: Fixed incomplete protocol list
Added missing IMAP to the protocol list.
Steve Holme [Thu, 30 Oct 2014 23:14:45 +0000 (23:14 +0000)]
code cleanup: Use 'CURLcode result'
Steve Holme [Thu, 30 Oct 2014 22:40:05 +0000 (22:40 +0000)]
curl_easy_setopt.3: Fixed lots of typos
Steve Holme [Thu, 30 Oct 2014 18:22:25 +0000 (18:22 +0000)]
curl_easy_setopt.3: Moved CURLOPT_DIRLISTONLY into PROTOCOL OPTIONS
...as this option affects more that just FTP.
Guenter Knauf [Thu, 30 Oct 2014 15:43:29 +0000 (16:43 +0100)]
build: added Watcom support to build with WinSSL.
Daniel Stenberg [Thu, 30 Oct 2014 13:56:53 +0000 (14:56 +0100)]
CURLOPT_PINNEDPUBLICKEY.3: added details
Steve Holme [Thu, 30 Oct 2014 12:32:18 +0000 (12:32 +0000)]
CURLOPT_CUSTOMREQUEST.3: Fixed incomplete protocol list
Whilst the description included information about SMTP, the protocol
list only showed "TTP, FTP, IMAP, POP3".
Steve Holme [Thu, 30 Oct 2014 12:30:11 +0000 (12:30 +0000)]
CURLOPT_DIRLISTONLY.3: Added information about the usage in POP3
Daniel Stenberg [Wed, 29 Oct 2014 19:43:44 +0000 (20:43 +0100)]
openssl: enable NPN separately from ALPN
... and allow building with nghttp2 but completely without NPN and ALPN,
as nghttp2 can still be used for plain-text HTTP.
Reported-by: Lucas Pardue
Daniel Stenberg [Wed, 29 Oct 2014 19:48:29 +0000 (20:48 +0100)]
configure.ac: remove checks for OpenSSL NPN/ALPN funcs again
... since the conditional in the code are now based on OpenSSL versions
instead to better support non-configure builds.
Daniel Stenberg [Wed, 29 Oct 2014 19:34:19 +0000 (20:34 +0100)]
opts: added some "SEE ALSO" references
Steve Holme [Wed, 29 Oct 2014 21:01:57 +0000 (21:01 +0000)]
RELEASE-NOTES: Synced with
32913182dc
Steve Holme [Wed, 29 Oct 2014 19:12:50 +0000 (19:12 +0000)]
vtls.c: Fixed compilation warning
conversion from 'size_t' to 'unsigned int', possible loss of data
Steve Holme [Wed, 29 Oct 2014 14:14:17 +0000 (14:14 +0000)]
sspi: Return CURLE_LOGIN_DENIED on AcquireCredentialsHandle() failure
Return a more appropriate error, rather than CURLE_OUT_OF_MEMORY when
acquiring the credentials handle fails. This is then consistent with
the code prior to commit
f7e24683c4 when log-in credentials were empty.
Steve Holme [Wed, 29 Oct 2014 14:05:21 +0000 (14:05 +0000)]
sasl_sspi: Allow DIGEST-MD5 to use current windows credentials
Fixed the ability to use the current log-in credentials with DIGEST-MD5.
I had previously disabled this functionality in commit
607883f13c as I
couldn't get this to work under Windows 8, however, from testing HTTP
Digest authentication through Windows SSPI and then further testing of
this code I have found it works in Windows 7.
Some further investigation is required to see what the differences are
between Windows 7 and 8, but for now enable this functionality as the
code will return an error when AcquireCredentialsHandle() fails.
Kamil Dudka [Wed, 29 Oct 2014 13:24:54 +0000 (14:24 +0100)]
transfer: drop the code handling the ssl_connect_retry flag
Its last use has been removed by the previous commit.
Kamil Dudka [Wed, 29 Oct 2014 13:14:23 +0000 (14:14 +0100)]
nss: drop the code for libcurl-level downgrade to SSLv3
This code was already deactivated by commit
ec783dc142129d3860e542b443caaa78a6172d56 .
Kamil Dudka [Wed, 29 Oct 2014 13:32:32 +0000 (14:32 +0100)]
openssl: fix a line length warning
Guenter Knauf [Wed, 29 Oct 2014 02:31:34 +0000 (03:31 +0100)]
Added NetWare support to build with nghttp2.
Guenter Knauf [Wed, 29 Oct 2014 00:37:18 +0000 (01:37 +0100)]
Fixed error message since we require ALPN support.
Guenter Knauf [Tue, 28 Oct 2014 23:56:48 +0000 (00:56 +0100)]
Check for ALPN via OpenSSL version number.
This check works also with to non-configure platforms.
Steve Holme [Tue, 28 Oct 2014 22:47:22 +0000 (22:47 +0000)]
sasl_sspi: Fixed typo in comment
Steve Holme [Tue, 28 Oct 2014 22:42:42 +0000 (22:42 +0000)]
code cleanup: We prefer 'CURLcode result'
Daniel Stenberg [Tue, 28 Oct 2014 21:31:48 +0000 (22:31 +0100)]
TODO: consider supporting STAT
Daniel Stenberg [Tue, 28 Oct 2014 14:20:42 +0000 (15:20 +0100)]
mk-ca-bundle: spell fix "version"
Daniel Stenberg [Mon, 27 Oct 2014 15:08:24 +0000 (16:08 +0100)]
HTTP: return larger than 3 digit response codes too
HTTP 1.1 is clearly specified to only allow three digit response codes,
and libcurl used sscanf("%3d") for that purpose. This made libcurl
support smaller numbers but not larger. It does now, but we will not
make any specific promises nor document this further since it is going
outside of what HTTP is.
Bug: http://curl.haxx.se/bug/view.cgi?id=1441
Reported-by: Balaji
Daniel Stenberg [Sun, 26 Oct 2014 22:17:47 +0000 (23:17 +0100)]
src/: remove version.h.dist from gitignore
It has not been used since commit
f7bfdbab in 2011
Steve Holme [Sun, 26 Oct 2014 21:27:31 +0000 (21:27 +0000)]
ntlm: We prefer 'CURLcode result'
Continuing commit
0eb3d15ccb more return code variable name changes.
Guenter Knauf [Sun, 26 Oct 2014 18:07:35 +0000 (19:07 +0100)]
Cosmetics: lowercase non-special subroutine names.
Steve Holme [Sun, 26 Oct 2014 17:03:32 +0000 (17:03 +0000)]
RELEASE-NOTES: Synced with
07ac29a058
Steve Holme [Sun, 26 Oct 2014 16:34:44 +0000 (16:34 +0000)]
http_negotiate: We prefer 'CURLcode result'
Continuing commit
0eb3d15ccb more return code variable name changes.
Steve Holme [Sun, 26 Oct 2014 16:24:07 +0000 (16:24 +0000)]
http_negotiate: Fixed missing check for USE_SPNEGO
Steve Holme [Sun, 26 Oct 2014 14:51:05 +0000 (14:51 +0000)]
sspi: Synchronization of cleanup code between auth mechanisms
Steve Holme [Sun, 26 Oct 2014 14:36:05 +0000 (14:36 +0000)]
sspi: Renamed max token length variables
Code cleanup to try and synchronise code between the different SSPI
based authentication mechanisms.
Steve Holme [Sun, 26 Oct 2014 14:29:27 +0000 (14:29 +0000)]
sspi: Renamed expiry time stamp variables
Code cleanup to try and synchronise code between the different SSPI
based authentication mechanisms.
Steve Holme [Sun, 26 Oct 2014 14:26:39 +0000 (14:26 +0000)]
sspi: Only call CompleteAuthToken() when complete is needed
Don't call CompleteAuthToken() after InitializeSecurityContext() has
returned SEC_I_CONTINUE_NEEDED as this return code only indicates the
function should be called again after receiving a response back from
the server.
This only affected the Digest and NTLM authentication code.
Dan Fandrich [Sun, 26 Oct 2014 12:48:46 +0000 (13:48 +0100)]
Added the "flaky" keyword to a number of tests
Each shows evidence of flakiness on at least one platform on
the autobuilds. Users can use this keyword to skip these tests
if desired.
Steve Holme [Sun, 26 Oct 2014 10:32:34 +0000 (10:32 +0000)]
ntlm: Return all errors from Curl_ntlm_core_mk_nt_hash()
For consistency with other areas of the NTLM code propagate all errors
from Curl_ntlm_core_mk_nt_hash() up the call stack rather than just
CURLE_OUT_OF_MEMORY.
Steve Holme [Sun, 26 Oct 2014 10:26:46 +0000 (10:26 +0000)]
ntlm: Return CURLcode from Curl_ntlm_core_mk_lm_hash()
Steve Holme [Sun, 26 Oct 2014 10:16:59 +0000 (10:16 +0000)]
ntlm: Use 'CURLcode result'
Continuing commit
0eb3d15ccb more return code variable name changes.
Steve Holme [Sat, 25 Oct 2014 21:32:46 +0000 (22:32 +0100)]
ntlm: Only define ntlm data structure when USE_NTLM is defined
Steve Holme [Sat, 25 Oct 2014 13:23:40 +0000 (14:23 +0100)]
ntlm: Changed handles to be dynamic like other SSPI handles
Code cleanup to try and synchronise code between the different SSPI
based authentication mechanisms.
Steve Holme [Sat, 25 Oct 2014 13:18:30 +0000 (14:18 +0100)]
ntlm: Renamed handle variables to match other SSPI structures
Code cleanup to try and synchronise code between the different SSPI
based authentication mechanisms.
Steve Holme [Sat, 25 Oct 2014 13:12:41 +0000 (14:12 +0100)]
ntlm: Renamed SSPI based input token variables
Code cleanup to try and synchronise code between the different SSPI
based authentication mechanisms.
Steve Holme [Sat, 25 Oct 2014 13:05:54 +0000 (14:05 +0100)]
ntlm: We prefer 'CURLcode result'
Continuing commit
0eb3d15ccb more return code variable name changes.
Steve Holme [Sat, 25 Oct 2014 11:55:15 +0000 (12:55 +0100)]
build: Added WinIDN build configuration options
Added support for WinIDN build configurations to the VC8 and VC9
project files.
Nick Zitzmann [Fri, 24 Oct 2014 23:59:13 +0000 (18:59 -0500)]
darwinssl: detect possible future removal of SSLv3 from the framework
If Apple ever drops SSLv3 support from the Security framework, we'll fail with an error if the user insists on using SSLv3.
Patrick Monnerat [Fri, 24 Oct 2014 14:08:21 +0000 (16:08 +0200)]
gskit.c: remove SSLv3 from SSL default.
Patrick Monnerat [Fri, 24 Oct 2014 13:16:05 +0000 (15:16 +0200)]
gskit.c: use 'CURLcode result'
Jay Satiro [Fri, 24 Oct 2014 11:41:56 +0000 (13:41 +0200)]
SSL: Remove SSLv3 from SSL default due to POODLE attack
- Remove SSLv3 from SSL default in darwinssl, schannel, cyassl, nss,
openssl effectively making the default TLS 1.x. axTLS is not affected
since it supports only TLS, and gnutls is not affected since it already
defaults to TLS 1.x.
- Update CURLOPT_SSLVERSION doc
Daniel Stenberg [Fri, 24 Oct 2014 09:12:34 +0000 (11:12 +0200)]
pipelining: only output "is not blacklisted" in debug builds
Daniel Stenberg [Fri, 24 Oct 2014 07:19:29 +0000 (09:19 +0200)]
*.3: add/extend "SEE ALSO" sections
Daniel Stenberg [Fri, 24 Oct 2014 07:16:06 +0000 (09:16 +0200)]
curl_easy_pause.3: minor wording edit
Daniel Stenberg [Fri, 24 Oct 2014 07:12:17 +0000 (09:12 +0200)]
curl_getdate.3: provide a "SEE ALSO" section
Daniel Stenberg [Fri, 24 Oct 2014 07:08:22 +0000 (09:08 +0200)]
curl_global_init.3: minor formatting fix, add version info
Daniel Stenberg [Fri, 24 Oct 2014 06:51:04 +0000 (08:51 +0200)]
url.c: use 'CURLcode result'
Daniel Stenberg [Thu, 23 Oct 2014 20:56:35 +0000 (22:56 +0200)]
code cleanup: we prefer 'CURLcode result'
... 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 [Thu, 23 Oct 2014 20:48:49 +0000 (22:48 +0200)]
Curl_add_timecondition: skip superfluous varible assignment
Detected by cppcheck.
Daniel Stenberg [Thu, 23 Oct 2014 20:46:10 +0000 (22:46 +0200)]
Curl_pp_flushsend: skip superfluous assignment
Detected by cppcheck.
Daniel Stenberg [Thu, 23 Oct 2014 20:42:15 +0000 (22:42 +0200)]
Curl_pp_readresp: remove superfluous assignment
Variable already assigned a few lines up.
Detected by cppcheck.
Daniel Stenberg [Thu, 23 Oct 2014 20:40:23 +0000 (22:40 +0200)]
Curl_proxyCONNECT: remove superfluous statement
The variable is already assigned, skip the duplicate assignment.
Pointed out by cppcheck.
Guenter Knauf [Fri, 24 Oct 2014 02:22:04 +0000 (04:22 +0200)]
Added MinGW support to build with nghttp2.
Guenter Knauf [Thu, 23 Oct 2014 17:30:19 +0000 (19:30 +0200)]
Added VC ssh2 target to main Makefile.
Guenter Knauf [Thu, 23 Oct 2014 14:27:40 +0000 (16:27 +0200)]
Some cosmetics and simplifies.
Guenter Knauf [Thu, 23 Oct 2014 13:18:05 +0000 (15:18 +0200)]
Remove dependency on openssl and cut.
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 [Thu, 23 Oct 2014 13:12:42 +0000 (15:12 +0200)]
RELEASE-NOTES: synced with
e116d0a62
Daniel Stenberg [Thu, 23 Oct 2014 12:34:41 +0000 (14:34 +0200)]
CURLOPT_RESOLVE.3: add an example
Daniel Stenberg [Thu, 23 Oct 2014 08:01:58 +0000 (10:01 +0200)]
gnutls: removed dead code
Bug: http://curl.haxx.se/bug/view.cgi?id=1437
Reported-by: Julien
Daniel Stenberg [Thu, 23 Oct 2014 08:00:39 +0000 (10:00 +0200)]
Curl_rand: Uninitialized variable: r
This is not actually used uninitialized but we silence warnings.
Bug: http://curl.haxx.se/bug/view.cgi?id=1437
Reported-by: Julien
Daniel Stenberg [Tue, 21 Oct 2014 11:40:38 +0000 (13:40 +0200)]
opts: provide more and updated examples
Daniel Stenberg [Tue, 21 Oct 2014 11:06:22 +0000 (13:06 +0200)]
CURLOPT_RANGE.3: works for SFTP as well
... and added a small example
Daniel Stenberg [Tue, 21 Oct 2014 09:57:13 +0000 (11:57 +0200)]
curl.1: edited for clarity
Daniel Stenberg [Tue, 21 Oct 2014 09:10:03 +0000 (11:10 +0200)]
CURLOPT_SSLVERSION.3: provide an example
Daniel Stenberg [Tue, 21 Oct 2014 08:43:12 +0000 (10:43 +0200)]
docs/libcurl/ABI: more markdown friendly
Daniel Stenberg [Tue, 21 Oct 2014 08:26:40 +0000 (10:26 +0200)]
docs: edited lots of libcurl docs for clarity
Daniel Stenberg [Tue, 21 Oct 2014 06:58:03 +0000 (08:58 +0200)]
opts: added examples
Daniel Stenberg [Tue, 21 Oct 2014 06:57:48 +0000 (08:57 +0200)]
HISTORY: two glimpses in 2014
Kamil Dudka [Mon, 20 Oct 2014 16:18:57 +0000 (18:18 +0200)]
nss: reset SSL handshake state machine
... when the handshake succeeds
This fixes a connection failure when FTPS handle is reused.
Peter Wu [Tue, 14 Oct 2014 09:38:17 +0000 (11:38 +0200)]
cmake: generate pkg-config and curl-config
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 [Tue, 14 Oct 2014 09:38:16 +0000 (11:38 +0200)]
cmake: use LIBCURL_VERSION from curlver.h
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 [Tue, 14 Oct 2014 09:38:15 +0000 (11:38 +0200)]
cmake: add SUPPORT_FEATURES and SUPPORT_PROTOCOLS
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>
Daniel Stenberg [Fri, 17 Oct 2014 20:55:21 +0000 (22:55 +0200)]
cmake: add CMake/Macros.cmake to the release tarball
Daniel Stenberg [Thu, 16 Oct 2014 21:39:28 +0000 (23:39 +0200)]
test545: make it not use a trailing zero
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 [Thu, 16 Oct 2014 19:28:30 +0000 (20:28 +0100)]
ntlm: Fixed empty type-2 decoded message info text
Updated the info text when the base-64 decode of the type-2 message
returns a null buffer to be more specific.
Steve Holme [Thu, 16 Oct 2014 19:25:15 +0000 (20:25 +0100)]
ntlm: Fixed empty/bad base-64 decoded buffer return codes
Steve Holme [Thu, 16 Oct 2014 19:22:20 +0000 (20:22 +0100)]
ntlm: Avoid unnecessary buffer allocation for SSPI based type-2 token
Daniel Stenberg [Thu, 16 Oct 2014 09:37:52 +0000 (11:37 +0200)]
httpcustomheader.c: make use of more CURLOPT_HTTPHEADER features
... and only do a single request for clarity.
Steve Holme [Wed, 15 Oct 2014 20:48:59 +0000 (21:48 +0100)]
sasl_sspi: Fixed some typos
Steve Holme [Wed, 15 Oct 2014 20:20:25 +0000 (21:20 +0100)]
sasl_sspi: Fixed Kerberos response buffer not being allocated when using SSO
Bruno Thomsen [Wed, 15 Oct 2014 10:48:27 +0000 (12:48 +0200)]
mk-ca-bundle: added SHA-384 signature algorithm
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>
Patrick Monnerat [Tue, 14 Oct 2014 13:43:25 +0000 (15:43 +0200)]
OS400: fix bugs in curl_*escape_ccsid() and reduce variables scope
Patrick Monnerat [Tue, 14 Oct 2014 12:58:26 +0000 (14:58 +0200)]
Implement pinned public key in GSKit backend
Daniel Stenberg [Tue, 14 Oct 2014 08:23:27 +0000 (10:23 +0200)]
CURLOPT_TLSAUTH_*.3: fix reference typos
Daniel Stenberg [Tue, 14 Oct 2014 07:44:06 +0000 (09:44 +0200)]
cleanups: reduce variable scope
cppcheck pointed these out.
Daniel Stenberg [Tue, 14 Oct 2014 07:16:16 +0000 (09:16 +0200)]
singleipconnect: remove dead assignment never used
cppcheck pointed this out.