]> granicus.if.org Git - curl/log
curl
10 years agohttp_digest: Use CURLcode instead of CURLdigest
Steve Holme [Wed, 5 Nov 2014 12:05:34 +0000 (12:05 +0000)]
http_digest: Use CURLcode instead of CURLdigest

To provide consistent behaviour between the various HTTP authentication
functions use CURLcode based error codes for Curl_input_digest()
especially as the calling code doesn't use the specific error code just
that it failed.

10 years agocontributors.sh: filter common alternative name spellings
Daniel Stenberg [Wed, 5 Nov 2014 11:59:53 +0000 (12:59 +0100)]
contributors.sh: filter common alternative name spellings

docs/THANKS-filter is a new filter file for converting contributor names
we get or have recorded in alternative formats to the one we already use
in THANKS. To help us show individual contributors using a single
presentation of their names.

10 years agoTHANKS: added missing contributor from 2012
Daniel Stenberg [Wed, 5 Nov 2014 11:57:24 +0000 (12:57 +0100)]
THANKS: added missing contributor from 2012

10 years agoRemove duplicate names.
Frank Gevaerts [Wed, 5 Nov 2014 10:59:53 +0000 (11:59 +0100)]
Remove duplicate names.

The removed names also appear as:
Andrés García, François Charlier, Gökhan Şengün, Michał Górny, Sébastien
Willemijns, Christopher Conroy, John E. Malmberg, Luca Altea, Peter Su,
S. Moonesamy, Samuel Listopad, Yasuharu Yamada, Karl Moerder

10 years agosspi: Define authentication package name constants
Steve Holme [Wed, 5 Nov 2014 11:43:22 +0000 (11:43 +0000)]
sspi: Define authentication package name constants

These were previously hard coded, and whilst defined in security.h,
they may or may not be present in old header files given that these
defines were never used in the original code.

Not only that, but there appears to be some ambiguity between the ANSI
and UNICODE NTLM definition name in security.h.

10 years agoAdjust OS400-specific support to last release
Patrick Monnerat [Wed, 5 Nov 2014 11:42:24 +0000 (12:42 +0100)]
Adjust OS400-specific support to last release

10 years agoTHANKS: added two missing names and removed a duplicate
Daniel Stenberg [Wed, 5 Nov 2014 10:28:59 +0000 (11:28 +0100)]
THANKS: added two missing names and removed a duplicate

./contributors.sh found these extra ones that somehow had fallen
through the cracks and never gotten added here.

Reported-by: Frank Gevaerts
10 years agobump: towards next release
Daniel Stenberg [Wed, 5 Nov 2014 08:43:07 +0000 (09:43 +0100)]
bump: towards next release

10 years agoTHANKS: added names from 7.39.0 release notes
Daniel Stenberg [Wed, 5 Nov 2014 08:42:55 +0000 (09:42 +0100)]
THANKS: added names from 7.39.0 release notes

10 years agoRELEASE-NOTES: 7.39.0 release (commit b3875606925) curl-7_39_0
Daniel Stenberg [Wed, 5 Nov 2014 07:20:18 +0000 (08:20 +0100)]
RELEASE-NOTES: 7.39.0 release (commit b3875606925)

10 years agocurl_easy_duphandle: CURLOPT_COPYPOSTFIELDS read out of bounds
Daniel Stenberg [Fri, 17 Oct 2014 10:59:32 +0000 (12:59 +0200)]
curl_easy_duphandle: CURLOPT_COPYPOSTFIELDS read out of bounds

When duplicating a handle, the data to post was duplicated using
strdup() when it could be binary and contain zeroes and it was not even
zero terminated! This caused read out of bounds crashes/segfaults.

Since the lib/strdup.c file no longer is easily shared with the curl
tool with this change, it now uses its own version instead.

Bug: http://curl.haxx.se/docs/adv_20141105.html
CVE: CVE-2014-3707
Reported-By: Symeon Paraschoudis
10 years agolib544.c: use duphandle for test 545
Daniel Stenberg [Thu, 16 Oct 2014 21:58:59 +0000 (23:58 +0200)]
lib544.c: use duphandle for test 545

To verify that curl_easy_duphandle() works fine on a handle that has
gotten data stored with *_COPYPOSTFIELDS.

10 years agotests: add new feature 'SSLpinning'
Daniel Stenberg [Tue, 4 Nov 2014 22:02:09 +0000 (23:02 +0100)]
tests: add new feature 'SSLpinning'

... and make test 2034 and 2035 require it, and have it set when built
with OpenSSL or GnuTLS.

10 years agobuildconf: update copyright year
Daniel Stenberg [Tue, 4 Nov 2014 13:28:42 +0000 (14:28 +0100)]
buildconf: update copyright year

10 years agoINSTALL: Consistent spacing in section headings, paragraphs and examples
Steve Holme [Tue, 4 Nov 2014 14:07:55 +0000 (14:07 +0000)]
INSTALL: Consistent spacing in section headings, paragraphs and examples

10 years agobuildconf: stop checking for libtool
Daniel Stenberg [Tue, 4 Nov 2014 13:27:20 +0000 (14:27 +0100)]
buildconf: stop checking for libtool

As we only use libtoolize, only check for that!

10 years agoINSTALL: Corrected MIT Kerberos and Heimdal package names
Steve Holme [Tue, 4 Nov 2014 12:44:54 +0000 (12:44 +0000)]
INSTALL: Corrected MIT Kerberos and Heimdal package names

10 years agoREADME: Corrected inconsistent use of --help
Steve Holme [Tue, 4 Nov 2014 12:32:33 +0000 (12:32 +0000)]
README: Corrected inconsistent use of --help

10 years agoINSTALL: Use GSS-API rather than GSSAPI
Steve Holme [Tue, 4 Nov 2014 11:51:19 +0000 (11:51 +0000)]
INSTALL: Use GSS-API rather than GSSAPI

As implementations are refereed to GSS-API libraries as per the RFC and
GSSAPI typically refers to the SASL authentication mechanism.

...and minor rewording on the same paragraph.

10 years agoREADME: Added note about using Visual Studio projects out of git repository
Steve Holme [Tue, 4 Nov 2014 11:45:35 +0000 (11:45 +0000)]
README: Added note about using Visual Studio projects out of git repository

10 years agocmake: fix ZLIB_INCLUDE_DIRS use
K. R. Walker [Mon, 3 Nov 2014 18:31:24 +0000 (11:31 -0700)]
cmake: fix ZLIB_INCLUDE_DIRS use

CMake 2.8's FindZLIB.cmake documents ZLIB_INCLUDE_DIRS, see
http://www.cmake.org/cmake/help/v2.8.0/cmake.html#module:FindZLIB

Bug: https://github.com/bagder/curl/pull/123

10 years agoSSL: PolarSSL default min SSL version TLS 1.0
Jay Satiro [Fri, 24 Oct 2014 18:26:57 +0000 (14:26 -0400)]
SSL: PolarSSL default min SSL version TLS 1.0

- Prior to this change no SSL minimum version was set by default at
runtime for PolarSSL. Therefore in most cases PolarSSL would probably
have defaulted to a minimum version of SSLv3 which is no longer secure.

10 years agoopts-Makefile: put more man pages into dist and make hmtl+pdf
Daniel Stenberg [Tue, 4 Nov 2014 09:40:07 +0000 (10:40 +0100)]
opts-Makefile: put more man pages into dist and make hmtl+pdf

10 years agocurl_multi_setopt.3: refer to stand-alone pages
Daniel Stenberg [Tue, 4 Nov 2014 08:46:41 +0000 (09:46 +0100)]
curl_multi_setopt.3: refer to stand-alone pages

... instead of duplicating info.

10 years agoopts: more multi options as stand-alone man pages
Daniel Stenberg [Tue, 4 Nov 2014 09:31:24 +0000 (10:31 +0100)]
opts: more multi options as stand-alone man pages

10 years agoMakefile.am: two cmake files are gone
Daniel Stenberg [Tue, 4 Nov 2014 07:54:55 +0000 (08:54 +0100)]
Makefile.am: two cmake files are gone

8cb010144 removed the CurlCheckCSourceCompiles.cmake and
CurlCheckCSourceRuns.cmake files

10 years agoopts: made stand-alone man-pages for several multi options
Daniel Stenberg [Mon, 3 Nov 2014 22:11:37 +0000 (23:11 +0100)]
opts: made stand-alone man-pages for several multi options

10 years agoCurl_single_getsock: fix hold/pause sock handling
Carlo Wood [Sun, 2 Nov 2014 13:09:00 +0000 (14:09 +0100)]
Curl_single_getsock: fix hold/pause sock handling

The previous condition that checked if the socket was marked as readable
when also adding a writable one, was incorrect and didn't take the pause
bits properly into account.

10 years agocmake: fix struct sockaddr_storage check
Peter Wu [Fri, 31 Oct 2014 11:32:41 +0000 (12:32 +0100)]
cmake: fix struct sockaddr_storage check

CHECK_TYPE_SIZE_PREINCLUDE is an internal, undocumented variable which
was removed in cmake 2.8.1. According to the MSDN docs[1], inclusion
of winsock2.h is sufficient. WIN32_LEAN_AND_MEAN does not really seem
to affect the tests, so remove it too[2].

For the non-windows case, remove inet headers as POSIX only requires
sys/socket.h.

 [1]: http://msdn.microsoft.com/en-us/library/windows/desktop/ms740504%28v=vs.85%29.aspx
 [2]: http://stackoverflow.com/questions/11040133/what-does-defining-win32-lean-and-mean-exclude-exactly

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
10 years agocmake: clean OtherTests, fixing -Werror
Peter Wu [Fri, 31 Oct 2014 11:32:40 +0000 (12:32 +0100)]
cmake: clean OtherTests, fixing -Werror

There were several -Wunused warnings and one duplicate macro definition.
The EXTRA_DEFINES variable of the CurlCheckCSources macro was being
abused ("__unused1\n#undef inline\n#define __unused2", seriously?) to
insert extra C code. Avoid this broken abstraction and use cmake's
check_c_source_compiles directly (works fine with CMake 2.8, maybe
even cmake 2.6).

After cleaning up all related variables (EXTRA_DEFINES,
HEADER_INCLUDES, auxiliary headers_hack), also remove a duplicate
add_headers_include macro and remove duplicate header additions before
the struct timeval check.

Oh, and now the code is converted to use CheckCSourceRuns and
CheckCSourceCompiles, the two curl-specific helpers can be removed.
Unfortunately, the cmake output is now slightly more verbose. Before:

    Performing Test int send(int, const void *, size_t, int) (curl_cv_func_send_test)
    Performing Test int send(int, const void *, size_t, int) (curl_cv_func_send_test) - Failed

Since check_c_source_compiles prints the varname, now you see:

    Performing Test curl_cv_func_send_test
    Performing Test curl_cv_func_send_test - Failed
    Tested: int send(int, const void *, size_t, int)

Compared cmake output with each other using vimdiff, no functional
differences were found. Tested with GCC 4.9.1 and Clang 3.5.0.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
10 years agocmake: fix gethostby{addr,name}_r in CurlTests
Peter Wu [Fri, 31 Oct 2014 11:32:39 +0000 (12:32 +0100)]
cmake: fix gethostby{addr,name}_r in CurlTests

This patch cleans up the automatically-generated (?) code and fixes one
case that will always fail due to syntax error.

HAVE_GETHOSTBYADDR_R_5_REENTRANT always failed because of a trailing
character ("int length;q"). Several parameter type and unused variable
warnings popped up. This causes a detection failure with -Werror.

Observe that the REENTRANT cases are exactly the same as their
non-REENTRANT cases except for a `_REENTRANT` macro definition.
Merge all these pieces and build one big main function with different
cases, but reusing variables where logical.

For the cases where the parameters where NULL, I looked at
lib/hostip4.c to get an idea of the parameters types.

void-cast variables such as 'rc' to avoid -Wuninitialized errors.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
10 years agocmake: drop _BSD_SOURCE macro usage
Peter Wu [Fri, 31 Oct 2014 11:32:38 +0000 (12:32 +0100)]
cmake: drop _BSD_SOURCE macro usage

autotools does not use features.h nor _BSD_SOURCE. As this macro
triggers warnings since glibc 2.20, remove it. It should not have
functional differences.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
10 years agoRELEASE-NOTES: Synced with d71ea7c01e
Steve Holme [Sun, 2 Nov 2014 22:59:47 +0000 (22:59 +0000)]
RELEASE-NOTES: Synced with d71ea7c01e

Additionally, updated "GSSAPI" to "GSS-API" for a Cmake related change
as GSSAPI can be confused with the authentication mechanism rather than
a GSS-API implementation library such as MIT or Heimdal.

10 years agobuild: Added WinIDN build configuration options
Steve Holme [Sun, 2 Nov 2014 18:14:34 +0000 (18:14 +0000)]
build: Added WinIDN build configuration options

Added support for WinIDN build configurations to the VC6 project files.

10 years agobuild: Added WinIDN build configuration options
Steve Holme [Sun, 2 Nov 2014 16:23:48 +0000 (16:23 +0000)]
build: Added WinIDN build configuration options

Added support for WinIDN build configurations to the VC7 and VC7.1
project files.

10 years agobuild: Fixed the pre-processor separator in Visual Studio project files
Steve Holme [Sun, 2 Nov 2014 14:47:47 +0000 (14:47 +0000)]
build: Fixed the pre-processor separator in Visual Studio project files

A left over from the VC6 project files, so mainly cosmetic in Visual
Studio .NET as it can handle both comma and semi-colon characters for
separating multiple pre-processor definitions.

However, the IDE uses semi-colons if the value is edited, and as such,
this may cause problems in future for anyone updating the files or
merging patches.

Used the Visual Studio IDE to correct the separator character.

10 years agobuild: Added optional specific version generation of VC project files
Steve Holme [Sun, 2 Nov 2014 13:00:31 +0000 (13:00 +0000)]
build: Added optional specific version generation of VC project files

..when working from the git repository. This is particularly useful
for single development environments where the project files for all
supported versions of Visual Studio may not be required.

10 years agobuild-openssl.bat: Fix x64 release build
Jay Satiro [Sun, 2 Nov 2014 06:35:41 +0000 (01:35 -0500)]
build-openssl.bat: Fix x64 release build

Prior to this change if x64 release was specified a failed attempt was
made to build x86 release instead.

10 years agoCURLOPT_XOAUTH2_BEARER.3: Corrected the OAuth version number
Steve Holme [Sun, 2 Nov 2014 10:50:33 +0000 (10:50 +0000)]
CURLOPT_XOAUTH2_BEARER.3: Corrected the OAuth version number

10 years agoCURLOPT_SASL_IR.3: Added supported mechanism information
Steve Holme [Sun, 2 Nov 2014 10:48:34 +0000 (10:48 +0000)]
CURLOPT_SASL_IR.3: Added supported mechanism information

...and removed duplication of what protocols are supported from the
description text.

10 years agoopts: Use common wording for MAIL related names
Steve Holme [Sun, 2 Nov 2014 10:38:42 +0000 (10:38 +0000)]
opts: Use common wording for MAIL related names

10 years agoopts: Use common wording for TLS user/password option names
Steve Holme [Sun, 2 Nov 2014 10:33:51 +0000 (10:33 +0000)]
opts: Use common wording for TLS user/password option names

...and revised the proxy wording a little as well.

10 years agoCURLOPT_MAXCONNECTS.3: Reworked the description to be less confusing
Steve Holme [Sun, 2 Nov 2014 10:26:21 +0000 (10:26 +0000)]
CURLOPT_MAXCONNECTS.3: Reworked the description to be less confusing

...and corrected a related typo in curl_easy_setopt.3.

10 years agoRELEASE-NOTES: removed obsolete entry; fixed entry.
Guenter Knauf [Sun, 2 Nov 2014 04:06:01 +0000 (05:06 +0100)]
RELEASE-NOTES: removed obsolete entry; fixed entry.

10 years agoRELEASE-NOTES: Synced with e7da67f5d3
Steve Holme [Sun, 2 Nov 2014 01:11:22 +0000 (01:11 +0000)]
RELEASE-NOTES: Synced with e7da67f5d3

10 years agodocs: Added mention of Kerberos for CURL_VERSION_SSPI
Steve Holme [Sun, 2 Nov 2014 00:54:50 +0000 (00:54 +0000)]
docs: Added mention of Kerberos for CURL_VERSION_SSPI

As this has been present for SOCKSv5 proxy since v7.19.4 and for IMAP,
POP3 and SMTP authentication since v7.38.0.

10 years agoCURL_VERSION_KERBEROS4: Mark as deprecated
Steve Holme [Sun, 2 Nov 2014 00:43:40 +0000 (00:43 +0000)]
CURL_VERSION_KERBEROS4: Mark as deprecated

Support for Kerberos V4 was removed in v7.33.0.

10 years agosasl: Fixed Kerberos V5 inclusion when CURL_DISABLE_CRYPTO_AUTH is used
Steve Holme [Sun, 2 Nov 2014 00:24:32 +0000 (00:24 +0000)]
sasl: Fixed Kerberos V5 inclusion when CURL_DISABLE_CRYPTO_AUTH is used

Typically the USE_WINDOWS_SSPI definition would not be used when the
CURL_DISABLE_CRYPTO_AUTH define is, however, it is still a valid build
configuration and, as such, the SASL Kerberos V5 (GSSAPI) authentication
data structures and functions would incorrectly be used when they
shouldn't be.

Introduced a new USE_KRB5 definition that takes into account the use of
CURL_DISABLE_CRYPTO_AUTH like USE_SPNEGO and USE_NTLM do.

10 years agoopenssl: Use 'CURLcode result'
Steve Holme [Sat, 1 Nov 2014 16:44:32 +0000 (16:44 +0000)]
openssl: Use 'CURLcode result'

More CURLcode fixes.

10 years agoresume: consider a resume from [content-length] to be OK
Daniel Stenberg [Thu, 30 Oct 2014 13:54:59 +0000 (14:54 +0100)]
resume: consider a resume from [content-length] to be OK

Basically since servers often then don't respond well to this and
instead send the full contents and then libcurl would instead error out
with the assumption that the server doesn't support resume. As the data
is then already transfered, this is now considered fine.

Test case 1434 added to verify this. Test case 1042 slightly modified.

Reported-by: hugo
Bug: http://curl.haxx.se/bug/view.cgi?id=1443

10 years agoopenssl: Use 'CURLcode result'
Steve Holme [Sat, 1 Nov 2014 16:30:16 +0000 (16:30 +0000)]
openssl: Use 'CURLcode result'

More standardisation of CURLcode usage and coding style.

10 years agoopenssl: Use 'CURLcode result'
Steve Holme [Sat, 1 Nov 2014 16:16:56 +0000 (16:16 +0000)]
openssl: Use 'CURLcode result'

...and some minor code style changes.

10 years agoftplistparser: We prefer 'CURLcode result'
Steve Holme [Sat, 1 Nov 2014 12:06:03 +0000 (12:06 +0000)]
ftplistparser: We prefer 'CURLcode result'

10 years agoopts: Use common wording for user/password option names
Steve Holme [Fri, 31 Oct 2014 22:22:19 +0000 (22:22 +0000)]
opts: Use common wording for user/password option names

10 years agoCURLOPT_CONNECT_ONLY.3: Removed "This option is implemented for..." text
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.

10 years agoCURLOPT_GSSAPI_DELEGATION.3: Use GSS-API rather than GSSAPI
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.

10 years agoCURLOPT_CONNECT_ONLY.3: Fixed incomplete protocol list
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.

10 years agocode cleanup: Use 'CURLcode result'
Steve Holme [Thu, 30 Oct 2014 23:14:45 +0000 (23:14 +0000)]
code cleanup: Use 'CURLcode result'

10 years agocurl_easy_setopt.3: Fixed lots of typos
Steve Holme [Thu, 30 Oct 2014 22:40:05 +0000 (22:40 +0000)]
curl_easy_setopt.3: Fixed lots of typos

10 years agocurl_easy_setopt.3: Moved CURLOPT_DIRLISTONLY into PROTOCOL OPTIONS
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.

10 years agobuild: added Watcom support to build with WinSSL.
Guenter Knauf [Thu, 30 Oct 2014 15:43:29 +0000 (16:43 +0100)]
build: added Watcom support to build with WinSSL.

10 years agoCURLOPT_PINNEDPUBLICKEY.3: added details
Daniel Stenberg [Thu, 30 Oct 2014 13:56:53 +0000 (14:56 +0100)]
CURLOPT_PINNEDPUBLICKEY.3: added details

10 years agoCURLOPT_CUSTOMREQUEST.3: Fixed incomplete protocol list
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".

10 years agoCURLOPT_DIRLISTONLY.3: Added information about the usage in POP3
Steve Holme [Thu, 30 Oct 2014 12:30:11 +0000 (12:30 +0000)]
CURLOPT_DIRLISTONLY.3: Added information about the usage in POP3

10 years agoopenssl: enable NPN separately from ALPN
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
10 years agoconfigure.ac: remove checks for OpenSSL NPN/ALPN funcs again
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.

10 years agoopts: added some "SEE ALSO" references
Daniel Stenberg [Wed, 29 Oct 2014 19:34:19 +0000 (20:34 +0100)]
opts: added some "SEE ALSO" references

10 years agoRELEASE-NOTES: Synced with 32913182dc
Steve Holme [Wed, 29 Oct 2014 21:01:57 +0000 (21:01 +0000)]
RELEASE-NOTES: Synced with 32913182dc

10 years agovtls.c: Fixed compilation warning
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

10 years agosspi: Return CURLE_LOGIN_DENIED on AcquireCredentialsHandle() failure
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.

10 years agosasl_sspi: Allow DIGEST-MD5 to use current windows credentials
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.

10 years agotransfer: drop the code handling the ssl_connect_retry flag
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.

10 years agonss: drop the code for libcurl-level downgrade to SSLv3
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.

10 years agoopenssl: fix a line length warning
Kamil Dudka [Wed, 29 Oct 2014 13:32:32 +0000 (14:32 +0100)]
openssl: fix a line length warning

10 years agoAdded NetWare support to build with nghttp2.
Guenter Knauf [Wed, 29 Oct 2014 02:31:34 +0000 (03:31 +0100)]
Added NetWare support to build with nghttp2.

10 years agoFixed error message since we require ALPN support.
Guenter Knauf [Wed, 29 Oct 2014 00:37:18 +0000 (01:37 +0100)]
Fixed error message since we require ALPN support.

10 years agoCheck for ALPN via OpenSSL version number.
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.

10 years agosasl_sspi: Fixed typo in comment
Steve Holme [Tue, 28 Oct 2014 22:47:22 +0000 (22:47 +0000)]
sasl_sspi: Fixed typo in comment

10 years agocode cleanup: We prefer 'CURLcode result'
Steve Holme [Tue, 28 Oct 2014 22:42:42 +0000 (22:42 +0000)]
code cleanup: We prefer 'CURLcode result'

10 years agoTODO: consider supporting STAT
Daniel Stenberg [Tue, 28 Oct 2014 21:31:48 +0000 (22:31 +0100)]
TODO: consider supporting STAT

10 years agomk-ca-bundle: spell fix "version"
Daniel Stenberg [Tue, 28 Oct 2014 14:20:42 +0000 (15:20 +0100)]
mk-ca-bundle: spell fix "version"

10 years agoHTTP: return larger than 3 digit response codes too
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
10 years agosrc/: remove version.h.dist from gitignore
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

10 years agontlm: We prefer 'CURLcode result'
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.

10 years agoCosmetics: lowercase non-special subroutine names.
Guenter Knauf [Sun, 26 Oct 2014 18:07:35 +0000 (19:07 +0100)]
Cosmetics: lowercase non-special subroutine names.

10 years agoRELEASE-NOTES: Synced with 07ac29a058
Steve Holme [Sun, 26 Oct 2014 17:03:32 +0000 (17:03 +0000)]
RELEASE-NOTES: Synced with 07ac29a058

10 years agohttp_negotiate: We prefer 'CURLcode result'
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.

10 years agohttp_negotiate: Fixed missing check for USE_SPNEGO
Steve Holme [Sun, 26 Oct 2014 16:24:07 +0000 (16:24 +0000)]
http_negotiate: Fixed missing check for USE_SPNEGO

10 years agosspi: Synchronization of cleanup code between auth mechanisms
Steve Holme [Sun, 26 Oct 2014 14:51:05 +0000 (14:51 +0000)]
sspi: Synchronization of cleanup code between auth mechanisms

10 years agosspi: Renamed max token length variables
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.

10 years agosspi: Renamed expiry time stamp variables
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.

10 years agosspi: Only call CompleteAuthToken() when complete is needed
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.

10 years agoAdded the "flaky" keyword to a number of tests
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.

10 years agontlm: Return all errors from Curl_ntlm_core_mk_nt_hash()
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.

10 years agontlm: Return CURLcode from Curl_ntlm_core_mk_lm_hash()
Steve Holme [Sun, 26 Oct 2014 10:26:46 +0000 (10:26 +0000)]
ntlm: Return CURLcode from Curl_ntlm_core_mk_lm_hash()

10 years agontlm: Use 'CURLcode result'
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.

10 years agontlm: Only define ntlm data structure when USE_NTLM is defined
Steve Holme [Sat, 25 Oct 2014 21:32:46 +0000 (22:32 +0100)]
ntlm: Only define ntlm data structure when USE_NTLM is defined

10 years agontlm: Changed handles to be dynamic like other SSPI handles
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.

10 years agontlm: Renamed handle variables to match other SSPI structures
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.

10 years agontlm: Renamed SSPI based input token variables
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.