]> granicus.if.org Git - curl/log
curl
9 years agoROADMAP: extend the HTTP/2 stuff, remove SPDY
Daniel Stenberg [Fri, 20 Feb 2015 22:29:19 +0000 (23:29 +0100)]
ROADMAP: extend the HTTP/2 stuff, remove SPDY

9 years agoconfigure: allow both --with-ca-bundle and --with-ca-path
Julian Ospald [Sat, 7 Feb 2015 21:06:40 +0000 (22:06 +0100)]
configure: allow both --with-ca-bundle and --with-ca-path

SSL_CTX_load_verify_locations by default (and if given non-Null
parameters) searches the CAfile first and falls back to CApath.  This
allows for CAfile to be a basis (e.g. installed by the package manager)
and CApath to be a user configured directory.

This wasn't reflected by the previous configure constraint which this
patch fixes.

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

9 years agocmake: install the dll file to the correct directory
Ben Boeckel [Wed, 18 Feb 2015 22:19:04 +0000 (17:19 -0500)]
cmake: install the dll file to the correct directory

9 years agonss: fix NPN/ALPN protocol negotiation
Alessandro Ghedini [Thu, 19 Feb 2015 18:58:28 +0000 (19:58 +0100)]
nss: fix NPN/ALPN protocol negotiation

Correctly check for memcmp() return value (it returns 0 if the strings match).

This is not really important, since curl is going to use http/1.1 anyway, but
it's still a bug I guess.

9 years agopolarssl: fix ALPN protocol negotiation
Alessandro Ghedini [Thu, 19 Feb 2015 18:55:59 +0000 (19:55 +0100)]
polarssl: fix ALPN protocol negotiation

Correctly check for strncmp() return value (it returns 0 if the strings
match).

9 years agoCMake: Fix generation of tool_hugehelp.c on windows
Sergei Nikulov [Tue, 23 Dec 2014 21:05:57 +0000 (00:05 +0300)]
CMake: Fix generation of tool_hugehelp.c on windows

Use "cmake -E echo" instead of "echo".

Reviewed-by: Brad King <brad.king@kitware.com>
9 years agoCMake: fix winsock2 detection on windows
Sergei Nikulov [Tue, 23 Dec 2014 21:05:57 +0000 (00:05 +0300)]
CMake: fix winsock2 detection on windows

Set CMAKE_REQUIRED_DEFINITIONS to include definitions needed to get
the winsock2 API from windows.h.  Simplify the order of checks to
avoid extra conditions.

Use check_include_file instead of check_include_file_concat to look
for OpenSSL headers.  They do not need to participate in a sequence
of dependent system headers.  Also they may cause winsock.h to be
included before ws2tcpip.h, causing the latter to not be detected
in the sequence.

Reviewed-by: Brad King <brad.king@kitware.com>
9 years agogtls: fix build with HTTP2
Alessandro Ghedini [Thu, 19 Feb 2015 15:44:27 +0000 (16:44 +0100)]
gtls: fix build with HTTP2

9 years agoMakefile.vc6: Corrected typos in rename of darwinssl.obj
Steve Holme [Mon, 16 Feb 2015 00:20:07 +0000 (00:20 +0000)]
Makefile.vc6: Corrected typos in rename of darwinssl.obj

9 years agoBy request, change the name of "curl_darwinssl.[ch]" to "darwinssl.[ch]"
Nick Zitzmann [Sun, 15 Feb 2015 23:11:01 +0000 (17:11 -0600)]
By request, change the name of "curl_darwinssl.[ch]" to "darwinssl.[ch]"

9 years agoRELEASE-NOTES: Synced with 6f89f86c3d
Steve Holme [Sat, 14 Feb 2015 22:22:52 +0000 (22:22 +0000)]
RELEASE-NOTES: Synced with 6f89f86c3d

9 years agotests/README: Updated to reflect email test ranges
Steve Holme [Sat, 14 Feb 2015 20:54:06 +0000 (20:54 +0000)]
tests/README: Updated to reflect email test ranges

9 years agocurl.1: --cert-status is also supported by OpenSSL now
Alessandro Ghedini [Sat, 14 Feb 2015 17:35:27 +0000 (18:35 +0100)]
curl.1: --cert-status is also supported by OpenSSL now

9 years agobuild: Removed Visual Studio SuppressStartupBanner directive for VC8+
Steve Holme [Sat, 14 Feb 2015 17:01:49 +0000 (17:01 +0000)]
build: Removed Visual Studio SuppressStartupBanner directive for VC8+

Visual Studio 2005 and above defaults to disabling the startup banner
for the Compiler, Linker and MIDL tools (with /NOLOGO). As such there
is no need to explicitly set the SuppressStartupBanner directive, as
this is a leftover from the VC7 and VC7.1 projects being upgraded to
VC8 and above.

9 years agoopenssl: fix a compile-time warning
Kamil Dudka [Thu, 12 Feb 2015 07:34:40 +0000 (08:34 +0100)]
openssl: fix a compile-time warning

lib/vtls/openssl.c:1450:7: warning: extra tokens at end of #endif directive

9 years agoopenssl: Use OPENSSL_IS_BORINGSSL for BoringSSL detection
Steve Holme [Wed, 11 Feb 2015 20:56:12 +0000 (20:56 +0000)]
openssl: Use OPENSSL_IS_BORINGSSL for BoringSSL detection

For consistency with other conditionally compiled code in openssl.c,
use OPENSSL_IS_BORINGSSL rather than HAVE_BORINGSSL and try to use
HAVE_BORINGSSL outside of openssl.c when the OpenSSL header files are
not included.

9 years agoftp: accept all 2xx responses to the PORT command
Patrick Monnerat [Wed, 11 Feb 2015 18:51:57 +0000 (19:51 +0100)]
ftp: accept all 2xx responses to the PORT command

9 years agoopenssl: Disable OCSP in old versions of OpenSSL
Steve Holme [Mon, 9 Feb 2015 20:58:33 +0000 (20:58 +0000)]
openssl: Disable OCSP in old versions of OpenSSL

Versions of OpenSSL prior to v0.9.8h do not support the necessary
functions for OCSP stapling.

9 years agohttp2: Fix bug that associated stream canceled on PUSH_PROMISE
Tatsuhiro Tsujikawa [Mon, 9 Feb 2015 13:30:24 +0000 (22:30 +0900)]
http2: Fix bug that associated stream canceled on PUSH_PROMISE

Previously we don't ignore PUSH_PROMISE header fields in on_header
callback.  It makes header values mixed with following HEADERS,
resulting protocol error.

9 years agopolarssl: Fix exclusive SSL protocol version options
Jay Satiro [Fri, 2 Jan 2015 17:33:41 +0000 (12:33 -0500)]
polarssl: Fix exclusive SSL protocol version options

Prior to this change the options for exclusive SSL protocol versions did
not actually set the protocol exclusive.

http://curl.haxx.se/mail/lib-2015-01/0002.html
Reported-by: Dan Fandrich
9 years agogskit: Fix exclusive SSLv3 option
Jay Satiro [Fri, 2 Jan 2015 17:37:45 +0000 (12:37 -0500)]
gskit: Fix exclusive SSLv3 option

9 years agocurl.1: clarify that -X is used for all requests
Daniel Stenberg [Mon, 9 Feb 2015 09:33:54 +0000 (10:33 +0100)]
curl.1: clarify that -X is used for all requests

Reported-by: Jon Seymour
9 years agocurl.1: add warning when using -H and redirects
Daniel Stenberg [Sat, 7 Feb 2015 23:05:55 +0000 (00:05 +0100)]
curl.1: add warning when using -H and redirects

9 years agoschannel: Removed curl_ prefix from source files
Steve Holme [Sat, 7 Feb 2015 20:50:30 +0000 (20:50 +0000)]
schannel: Removed curl_ prefix from source files

Removed the curl_ prefix from the schannel source files as discussed
with Marc and Daniel at FOSDEM.

9 years agomd5: use axTLS's own MD5 functions when available
Daniel Stenberg [Fri, 6 Feb 2015 13:36:25 +0000 (14:36 +0100)]
md5: use axTLS's own MD5 functions when available

9 years agoMD(4|5): make the MD4_* and MD5_* functions static
Daniel Stenberg [Fri, 6 Feb 2015 13:26:01 +0000 (14:26 +0100)]
MD(4|5): make the MD4_* and MD5_* functions static

9 years agoaxtls: fix conversion from size_t to int warning
Daniel Stenberg [Fri, 6 Feb 2015 13:04:16 +0000 (14:04 +0100)]
axtls: fix conversion from size_t to int warning

9 years agoftp: Use 'CURLcode result' for curl result codes
Steve Holme [Thu, 5 Feb 2015 20:31:12 +0000 (20:31 +0000)]
ftp: Use 'CURLcode result' for curl result codes

9 years agoopenssl: SSL_SESSION->ssl_version no longer exist
Daniel Stenberg [Thu, 5 Feb 2015 10:56:29 +0000 (11:56 +0100)]
openssl: SSL_SESSION->ssl_version no longer exist

The struct went private in 1.0.2 so we cannot read the version number
from there anymore. Use SSL_version() instead!

Reported-by: Gisle Vanem
Bug: http://curl.haxx.se/mail/lib-2015-02/0034.html

9 years agounit1600: Fix compilation when NTLM is disabled
Dan Fandrich [Wed, 4 Feb 2015 21:59:14 +0000 (22:59 +0100)]
unit1600: Fix compilation when NTLM is disabled

9 years agoMD5: fix compiler warnings and code style nits
Daniel Stenberg [Tue, 3 Feb 2015 09:09:35 +0000 (10:09 +0100)]
MD5: fix compiler warnings and code style nits

9 years agoMD5: replace implementation
Daniel Stenberg [Tue, 3 Feb 2015 09:06:20 +0000 (10:06 +0100)]
MD5: replace implementation

The previous one was "encumbered" by RSA Inc - to avoid the licensing
restrictions it has being replaced. This is the initial import,
inserting the md5.c and md5.h files from
http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5

Code-by: Alexander Peslyak
9 years agoMD4: fix compiler warnings and code style nits
Daniel Stenberg [Tue, 3 Feb 2015 09:00:54 +0000 (10:00 +0100)]
MD4: fix compiler warnings and code style nits

9 years agoMD4: replace implementation
Daniel Stenberg [Tue, 3 Feb 2015 08:55:47 +0000 (09:55 +0100)]
MD4: replace implementation

The previous one was "encumbered" by RSA Inc - to avoid the licensing
restrictions it has being replaced. This is the initial import,
inserting the md4.c and md4.h files from
http://openwall.info/wiki/people/solar/software/public-domain-source-code/md4

Code-by: Alexander Peslyak
9 years agotelnet: Prefer 'CURLcode result' for curl result codes
Steve Holme [Wed, 4 Feb 2015 00:09:31 +0000 (00:09 +0000)]
telnet: Prefer 'CURLcode result' for curl result codes

9 years agohostasyn: Prefer 'CURLcode result' for curl result codes
Steve Holme [Wed, 4 Feb 2015 00:05:30 +0000 (00:05 +0000)]
hostasyn: Prefer 'CURLcode result' for curl result codes

9 years agoschannel: Prefer 'CURLcode result' for curl result codes
Steve Holme [Wed, 4 Feb 2015 00:03:05 +0000 (00:03 +0000)]
schannel: Prefer 'CURLcode result' for curl result codes

9 years agounit1601: MD5 unit tests
Daniel Stenberg [Tue, 3 Feb 2015 21:52:18 +0000 (22:52 +0100)]
unit1601: MD5 unit tests

9 years agounit1600: unit test for Curl_ntlm_core_mk_nt_hash
Daniel Stenberg [Tue, 3 Feb 2015 19:59:54 +0000 (20:59 +0100)]
unit1600: unit test for Curl_ntlm_core_mk_nt_hash

9 years agounit1600: NTLM unit test
Daniel Stenberg [Tue, 3 Feb 2015 09:44:41 +0000 (10:44 +0100)]
unit1600: NTLM unit test

9 years agotests/README: add a new range, clean up some language
Daniel Stenberg [Tue, 3 Feb 2015 09:46:39 +0000 (10:46 +0100)]
tests/README: add a new range, clean up some language

9 years agoopts: CURLOPT_CAINFO availability depends on SSL engine
Jay Satiro [Sun, 11 Jan 2015 05:10:05 +0000 (00:10 -0500)]
opts: CURLOPT_CAINFO availability depends on SSL engine

9 years agogetpass: protect include with proper #ifdef
Daniel Stenberg [Tue, 3 Feb 2015 06:57:54 +0000 (07:57 +0100)]
getpass: protect include with proper #ifdef

Reported-by: Tamir
9 years agogetpass_r: read from stdin, not stdout!
Daniel Stenberg [Mon, 2 Feb 2015 23:30:45 +0000 (00:30 +0100)]
getpass_r: read from stdin, not stdout!

The file number used was wrong. This bug was introduced over 10 years
ago, proving this function isn't used much...

Bug: http://curl.haxx.se/bug/view.cgi?id=1476
Reported-by: Tamir
9 years agotest1135: verify the CURL_EXTERN order in header files
Daniel Stenberg [Mon, 2 Feb 2015 22:32:38 +0000 (23:32 +0100)]
test1135: verify the CURL_EXTERN order in header files

9 years agoMakefile.am: fix 'make distcheck'
Daniel Stenberg [Mon, 2 Feb 2015 22:11:44 +0000 (23:11 +0100)]
Makefile.am: fix 'make distcheck'

... by removing generated files from the *_DIST variable [*] and instead
generate them with a .dist suffix, since that is then handled and put
into the release archive by our generic dist-hook.

[*] = 'make distcheck' fails with non-existing files listed there

9 years agocurl_sasl.c: More code policing
Steve Holme [Mon, 2 Feb 2015 16:44:00 +0000 (16:44 +0000)]
curl_sasl.c: More code policing

Better use of 80 character line limit, comment corrections and line
spacing preferences.

9 years agolibcurl-symbols: first basic shot for autogenerated docs
Daniel Stenberg [Mon, 2 Feb 2015 14:38:54 +0000 (15:38 +0100)]
libcurl-symbols: first basic shot for autogenerated docs

9 years agoFAQ: minor edit of 3.22
Daniel Stenberg [Mon, 2 Feb 2015 14:38:29 +0000 (15:38 +0100)]
FAQ: minor edit of 3.22

9 years agobuild: Added removal of Visual Studio project files
Steve Holme [Sun, 1 Feb 2015 21:56:59 +0000 (21:56 +0000)]
build: Added removal of Visual Studio project files

Added the removal of the locally generated project files so one
may revert to a clean repository.

9 years agobuild: Renamed top level Visual Studio solution files
Steve Holme [Sun, 1 Feb 2015 21:25:04 +0000 (21:25 +0000)]
build: Renamed top level Visual Studio solution files

In preparation for adding the test suite and examples projects renamed
the top level "all" solution files to better describe what they are.

This will also enable us to use "curl" rather than "curlsrc" for the
command line tool solution and project files, which will simplify some
of the configuration.

9 years agobuild: Enabled DEBUGBUILD in Visual Studio debug builds
Steve Holme [Sun, 1 Feb 2015 21:02:57 +0000 (21:02 +0000)]
build: Enabled DEBUGBUILD in Visual Studio debug builds

Defined the DEBUGBUILD pre-processor variable to allow extra logging,
which is particularly useful in debug builds, as we use this and Visual
Studio typically uses _DEBUG.

We could define DEBUBBUILD, in curl_setup.h, when _MSC_VER and _DEBUG is
defined but that would also affect the makefile based builds which we
probably don't want to do.

9 years agobuild: Removed unused Visual Studio bscmake settings
Steve Holme [Sun, 1 Feb 2015 18:56:05 +0000 (19:56 +0100)]
build: Removed unused Visual Studio bscmake settings

9 years agoCURLOPT_HTTP_VERSION.3: CURL_HTTP_VERSION_2_0 added in 7.33.0
Daniel Stenberg [Mon, 2 Feb 2015 12:14:14 +0000 (13:14 +0100)]
CURLOPT_HTTP_VERSION.3: CURL_HTTP_VERSION_2_0 added in 7.33.0

And modify the text to refer to HTTP 2 as it isn't called "2.0".

Reported-By: Michael Wallner
9 years agoTODO: moved WinSSL/SChannel todo items into docs
Marc Hoersken [Sat, 31 Jan 2015 11:30:11 +0000 (12:30 +0100)]
TODO: moved WinSSL/SChannel todo items into docs

9 years agoCURLOPT_SEEKFUNCTION.3: also when server closes a connection
Michael Kaufmann [Thu, 29 Jan 2015 21:34:21 +0000 (22:34 +0100)]
CURLOPT_SEEKFUNCTION.3: also when server closes a connection

9 years agocurl_sasl.c: Fixed compilation warning when cryptography is disabled
Steve Holme [Thu, 29 Jan 2015 11:48:11 +0000 (11:48 +0000)]
curl_sasl.c: Fixed compilation warning when cryptography is disabled

curl_sasl.c:1506: warning: unused variable 'chlg'

9 years agocurl_sasl.c: Fixed compilation warning when verbose debug output disabled
Steve Holme [Wed, 28 Jan 2015 22:48:01 +0000 (22:48 +0000)]
curl_sasl.c: Fixed compilation warning when verbose debug output disabled

curl_sasl.c:1317: warning: unused parameter 'conn'

9 years agontlm_core: Use own odd parity function when crypto engine doesn't have one
Steve Holme [Wed, 28 Jan 2015 20:59:27 +0000 (20:59 +0000)]
ntlm_core: Use own odd parity function when crypto engine doesn't have one

9 years agontlm_core: Prefer sizeof(key) rather than hard coded sizes
Steve Holme [Wed, 28 Jan 2015 20:55:06 +0000 (20:55 +0000)]
ntlm_core: Prefer sizeof(key) rather than hard coded sizes

9 years agontlm_core: Added consistent comments to DES functions
Steve Holme [Wed, 28 Jan 2015 20:53:40 +0000 (20:53 +0000)]
ntlm_core: Added consistent comments to DES functions

9 years agodes: Added Curl_des_set_odd_parity()
Steve Holme [Wed, 28 Jan 2015 20:43:32 +0000 (20:43 +0000)]
des: Added Curl_des_set_odd_parity()

Added Curl_des_set_odd_parity() for use when cryptography engines
don't include this functionality.

9 years agotests: Grouped SMTP SASL EXTERNAL tests with other SMTP tests
Steve Holme [Wed, 28 Jan 2015 19:45:54 +0000 (19:45 +0000)]
tests: Grouped SMTP SASL EXTERNAL tests with other SMTP tests

9 years agotests: Grouped POP3 SASL EXTERNAL tests with other POP3 tests
Steve Holme [Wed, 28 Jan 2015 19:40:03 +0000 (19:40 +0000)]
tests: Grouped POP3 SASL EXTERNAL tests with other POP3 tests

9 years agotests: Grouped IMAP SASL EXTERNAL tests with other IMAP tests
Steve Holme [Wed, 28 Jan 2015 19:35:35 +0000 (19:35 +0000)]
tests: Grouped IMAP SASL EXTERNAL tests with other IMAP tests

9 years agosasl: Minor code policing and grammar corrections
Steve Holme [Wed, 28 Jan 2015 19:11:19 +0000 (19:11 +0000)]
sasl: Minor code policing and grammar corrections

9 years agoldap: build with BoringSSL
Gisle Vanem [Wed, 28 Jan 2015 13:22:11 +0000 (14:22 +0100)]
ldap: build with BoringSSL

9 years agosecurity: avoid compiler warning
Daniel Stenberg [Wed, 28 Jan 2015 09:09:56 +0000 (10:09 +0100)]
security: avoid compiler warning

Possible access to uninitialised memory '&nread' at line 140 of
lib/security.c in function 'ftp_send_command'.

Reported-by: Rich Burridge
9 years agoruntests: identify BoringSSL and libressl
Daniel Stenberg [Fri, 23 Jan 2015 13:24:19 +0000 (14:24 +0100)]
runtests: identify BoringSSL and libressl

9 years agodocs: cite SASL external authentication.
Patrick Monnerat [Tue, 27 Jan 2015 18:10:18 +0000 (19:10 +0100)]
docs: cite SASL external authentication.

9 years agosasl: remove XOAUTH2 from default enabled authentication mechanism.
Patrick Monnerat [Tue, 27 Jan 2015 17:08:18 +0000 (18:08 +0100)]
sasl: remove XOAUTH2 from default enabled authentication mechanism.

9 years agotest: add test cases for sasl external authentication (imap/pop3/smtp).
Patrick Monnerat [Tue, 27 Jan 2015 17:03:56 +0000 (18:03 +0100)]
test: add test cases for sasl external authentication (imap/pop3/smtp).

9 years agoimap: remove automatic password setting: it breaks external sasl authentication
Patrick Monnerat [Tue, 27 Jan 2015 16:34:40 +0000 (17:34 +0100)]
imap: remove automatic password setting: it breaks external sasl authentication

9 years agosasl: implement EXTERNAL authentication mechanism.
Patrick Monnerat [Tue, 27 Jan 2015 16:24:55 +0000 (17:24 +0100)]
sasl: implement EXTERNAL authentication mechanism.
  Its use is only enabled by explicit requirement in URL (;AUTH=EXTERNAL) and
by not setting the password.

9 years agoopenssl: Fixed Curl_ossl_cert_status_request() not returning FALSE
Steve Holme [Tue, 27 Jan 2015 11:55:19 +0000 (11:55 +0000)]
openssl: Fixed Curl_ossl_cert_status_request() not returning FALSE

Modified the Curl_ossl_cert_status_request() function to return FALSE
when built with BoringSSL or when OpenSSL is missing the necessary TLS
extensions.

9 years agoopenssl: Fixed compilation errors when OpenSSL built with 'no-tlsext'
Steve Holme [Tue, 27 Jan 2015 11:52:14 +0000 (11:52 +0000)]
openssl: Fixed compilation errors when OpenSSL built with 'no-tlsext'

Fixed the build of openssl.c when OpenSSL is built without the necessary
TLS extensions for OCSP stapling.

Reported-by: John E. Malmberg
9 years agocurl_setup: Disable SMB/CIFS support when HTTP only
Brad Spencer [Mon, 26 Jan 2015 16:15:32 +0000 (12:15 -0400)]
curl_setup: Disable SMB/CIFS support when HTTP only

10 years agoRELEASE-NOTES: Synced with 37824498a3
Steve Holme [Fri, 23 Jan 2015 07:57:09 +0000 (07:57 +0000)]
RELEASE-NOTES: Synced with 37824498a3

10 years agoconfigure: remove detection of the old yassl emulation API
Daniel Stenberg [Thu, 22 Jan 2015 22:53:52 +0000 (23:53 +0100)]
configure: remove detection of the old yassl emulation API

... as that is ancient history and not used.

10 years agoOCSP stapling: disabled when build with BoringSSL
Daniel Stenberg [Thu, 22 Jan 2015 22:34:43 +0000 (23:34 +0100)]
OCSP stapling: disabled when build with BoringSSL

10 years agoopenssl: add support for the Certificate Status Request TLS extension
Alessandro Ghedini [Mon, 16 Jun 2014 13:05:17 +0000 (15:05 +0200)]
openssl: add support for the Certificate Status Request TLS extension

Also known as "status_request" or OCSP stapling, defined in RFC6066
section 8.

Thanks-to: Joe Mason
- for the work-around for the OpenSSL bug.

10 years agoBoringSSL: fix build for non-configure builds
Daniel Stenberg [Thu, 22 Jan 2015 22:04:10 +0000 (23:04 +0100)]
BoringSSL: fix build for non-configure builds

HAVE_BORINGSSL gets defined now by configure and should be defined by
other build systems in case a BoringSSL build is desired.

10 years agoconfigure: fix BoringSSL detection and detect libresssl
Daniel Stenberg [Thu, 22 Jan 2015 21:51:17 +0000 (22:51 +0100)]
configure: fix BoringSSL detection and detect libresssl

10 years agocurl_sasl: Reinstate the sasl_ prefix for locally scoped functions
Steve Holme [Thu, 22 Jan 2015 20:58:15 +0000 (20:58 +0000)]
curl_sasl: Reinstate the sasl_ prefix for locally scoped functions

Commit 7a8b2885e2 made some functions static and removed the public
Curl_ prefix. Unfortunately, it also removed the sasl_ prefix, which
is the naming convention we use in this source file.

10 years agocurl_sasl: Minor code policing following recent commits
Steve Holme [Thu, 22 Jan 2015 20:47:38 +0000 (20:47 +0000)]
curl_sasl: Minor code policing following recent commits

10 years agoopenvms: Handle openssl/0.8.9zb version parsing
John Malmberg [Fri, 16 Jan 2015 03:28:34 +0000 (21:28 -0600)]
openvms: Handle openssl/0.8.9zb version parsing

packages/vms/gnv_link_curl.com was assuming only a single letter suffix
in the openssl version.  That assumption has been fixed for 7.40.

10 years agoBoringSSL: detected by configure, switches off NTLM
Daniel Stenberg [Thu, 22 Jan 2015 15:34:18 +0000 (16:34 +0100)]
BoringSSL: detected by configure, switches off NTLM

10 years agoBoringSSL: no PKCS12 support nor ERR_remove_state
Daniel Stenberg [Thu, 22 Jan 2015 15:20:26 +0000 (16:20 +0100)]
BoringSSL: no PKCS12 support nor ERR_remove_state

10 years agoBoringSSL: fix build
Leith Bade [Thu, 22 Jan 2015 11:42:50 +0000 (22:42 +1100)]
BoringSSL: fix build

10 years agocurl_sasl.c: chlglen is not used when cryptography is disabled
Steve Holme [Tue, 20 Jan 2015 19:28:54 +0000 (19:28 +0000)]
curl_sasl.c: chlglen is not used when cryptography is disabled

10 years agocurl_sasl.c: Fixed compilation warning when cyptography is disabled
Steve Holme [Tue, 20 Jan 2015 19:25:43 +0000 (19:25 +0000)]
curl_sasl.c: Fixed compilation warning when cyptography is disabled

curl_sasl.c:1453: warning C4101: 'serverdata' : unreferenced local
                  variable

10 years agocurl_sasl.c: Fixed compilation error when USE_WINDOWS_SSPI defined
Steve Holme [Tue, 20 Jan 2015 19:21:56 +0000 (19:21 +0000)]
curl_sasl.c: Fixed compilation error when USE_WINDOWS_SSPI defined

curl_sasl.c:1221: error C2065: 'mechtable' : undeclared identifier

This error could also happen for non-SSPI builds when cryptography is
disabled (CURL_DISABLE_CRYPTO_AUTH is defined).

10 years agoSASL: make some procedures local-scoped
Patrick Monnerat [Tue, 20 Jan 2015 17:17:55 +0000 (18:17 +0100)]
SASL: make some procedures local-scoped

10 years agoSASL: common state engine for imap/pop3/smtp
Patrick Monnerat [Tue, 20 Jan 2015 16:33:05 +0000 (17:33 +0100)]
SASL: common state engine for imap/pop3/smtp

10 years agoSASL: common URL option and auth capabilities decoders for all protocols
Patrick Monnerat [Tue, 20 Jan 2015 14:27:25 +0000 (15:27 +0100)]
SASL: common URL option and auth capabilities decoders for all protocols

10 years agoIMAP/POP3/SMTP: use a per-connection sub-structure for SASL parameters.
Patrick Monnerat [Tue, 20 Jan 2015 13:14:26 +0000 (14:14 +0100)]
IMAP/POP3/SMTP: use a per-connection sub-structure for SASL parameters.

10 years agoipv6: enclose AF_INET6 uses with proper #ifdefs for ipv6
Daniel Stenberg [Tue, 20 Jan 2015 08:03:55 +0000 (09:03 +0100)]
ipv6: enclose AF_INET6 uses with proper #ifdefs for ipv6

Reported-by: Chris Young
10 years agotimeval: typecast for better type (on Amiga)
Chris Young [Tue, 20 Jan 2015 07:53:14 +0000 (08:53 +0100)]
timeval: typecast for better type (on Amiga)

There is an issue with conflicting "struct timeval" definitions with
certain AmigaOS releases and C libraries, depending on what gets
included when.  It's a minor difference - the OS one is unsigned,
whereas the common structure has signed elements.  If the OS one ends up
getting defined, this causes a timing calculation error in curl.

It's easy enough to resolve this at the curl end, by casting the
potentially errorneous calculation to a signed long.

10 years agoopenssl: do public key pinning check independently
Daniel Stenberg [Mon, 19 Jan 2015 22:18:58 +0000 (23:18 +0100)]
openssl: do public key pinning check independently

... of the other cert verification checks so that you can set verifyhost
and verifypeer to FALSE and still check the public key.

Bug: http://curl.haxx.se/bug/view.cgi?id=1471
Reported-by: Kyle J. McKay
10 years agoOS400: CURLOPT_SSL_VERIFYSTATUS for ILE/RPG too.
Patrick Monnerat [Mon, 19 Jan 2015 12:52:40 +0000 (13:52 +0100)]
OS400: CURLOPT_SSL_VERIFYSTATUS for ILE/RPG too.