summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* boringssl + schannel: undef X509_NAME in lib/schannel.hbagder/boringssl-undef-x509Gisle Vanem2018-06-082-9/+19
| | | | Fixes #2634
* mk-ca-bundle.pl: leave certificate name untouched in decode()Vladimir Kotal2018-06-081-1/+3
| | | | Closes #2640
* tests/libtests/Makefile.am: Add lib1521.c to CLEANFILESRikard Falkeborn2018-06-061-0/+2
| | | | | | This removes the generated lib1521.c when running make clean. Closes #2633
* tests/libtest: Add lib1521 to nodist_SOURCESRikard Falkeborn2018-06-063-5/+6
| | | | | | | | | | | Since 467da3af0, lib1521.c is generated instead of checked in. According to the commit message, the intention was to remove it from the tarball as well. However, it is still present when running make dist. To remove it, add it to nodist_lib1521_SOURCES. This also means there is no need for the manually added dist-rule in the Makefile. Also update CMakelists.txt to handle the fact that we now may have nodist_SOURCES.
* system.h: add support for IBM xlc C compilerStephan Mühlstrasser2018-06-061-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | Added a section to system.h guarded with __xlc__ for the IBM xml C compiler. Before this change the section titled 'generic "safe guess" on old 32 bit style' was used, which resulted in a wrong definition of CURL_TYPEOF_CURL_SOCKLEN_T, and for 64-bit also CURL_TYPEOF_CURL_OFF_T was wrong. Compilation warnings fixed with this change: CC libcurl_la-ftp.lo "ftp.c", line 290.55: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. "ftp.c", line 293.48: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. "ftp.c", line 1070.49: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. "ftp.c", line 1154.53: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. "ftp.c", line 1187.51: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. CC libcurl_la-connect.lo "connect.c", line 448.56: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. "connect.c", line 516.66: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. "connect.c", line 687.55: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. "connect.c", line 696.55: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. CC libcurl_la-tftp.lo "tftp.c", line 1115.33: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. Closes #2637
* cmdline-opts/cert-type.d: mention "p12" as a recognized type as wellDaniel Stenberg2018-06-051-3/+3
|
* spelling fixesViktor Szakats2018-06-0322-32/+32
| | | | | | Detected using the `codespell` tool (version 1.13.0). Also secure and fix an URL.
* axtls: follow-up spell fix of commentDaniel Stenberg2018-06-021-1/+1
|
* axTLS: not considered fit for useDaniel Stenberg2018-06-021-0/+5
| | | | | | | | | | URL: https://curl.haxx.se/mail/lib-2018-06/0000.html This is step one. It adds #error statements that require source edits to make curl build again if asked to use axTLS. At a later stage we might remove the axTLS specific code completely. Closes #2628
* build: remove the Borland specific makefilesDaniel Stenberg2018-06-026-415/+5
| | | | | | | According to the user survey 2018, not even one out of 670 users use them. Nobody on the mailing list spoke up for them either. Closes #2629
* curl_addrinfo: use same #ifdef conditions in source as headerDaniel Stenberg2018-06-011-1/+2
| | | | ... for curl_dofreeaddrinfo
* multi: remove a DEBUGF()Daniel Stenberg2018-06-011-2/+0
| | | | | | | | ... it might call infof() with a NULL first argument that isn't harmful but makes it not do anything. The infof() line is not very useful anymore, it has served it purpose. Good riddance! Fixes #2627
* CURLOPT_RESOLVE: always purge old entry firstAlibek.Jorajev2018-06-018-19/+279
| | | | | | If there's an existing entry using the selected name. Closes #2622
* fnmatch: use the system one if availableDaniel Stenberg2018-06-013-19/+119
| | | | | | | | | | | | | If configure detects fnmatch to be available, use that instead of our custom one for FTP wildcard pattern matching. For standard compliance, to reduce our footprint and to use already well tested and well exercised code. A POSIX fnmatch behaves slightly different than the internal function for a few test patterns currently and the macOS one yet slightly different. Test case 1307 is adjusted for these differences. Closes #2626
* os400: add new option in ILE/RPG bindingPatrick Monnerat2018-05-311-0/+2
| | | | Follow-up to commit 946ce5b
* tests/libtest/.gitignore: follow-up fix to ignore lib5* tooDaniel Stenberg2018-05-311-1/+1
|
* KNOWN_BUGS: CURL_GLOBAL_SSLDaniel Stenberg2018-05-311-0/+30
| | | | Closes #2276
* configure: check for declaration of getpwuid_rBernhard Walle2018-05-312-0/+12
| | | | | | | | | | | | | On our x86 Android toolchain, getpwuid_r is implemented but the header is missing: netrc.c:81:7: error: implicit declaration of function 'getpwuid_r' [-Werror=implicit-function-declaration] Unfortunately, the function is used in curl_ntlm_wb.c, too, so I moved the prototype to curl_setup.h. Signed-off-by: Bernhard Walle <bernhard@bwalle.de> Closes #2609
* tests: update .gitignore for libtestsRikard Falkeborn2018-05-311-6/+2
| | | | Closes #2624
* strictness: correct {infof, failf} format specifiersRikard Falkeborn2018-05-3111-35/+31
| | | | Closes #2623
* option: disallow username in URLBjörn Stenberg2018-05-3115-1/+127
| | | | | | | Adds CURLOPT_DISALLOW_USERNAME_IN_URL and --disallow-username-in-url. Makes libcurl reject URLs with a username in them. Closes #2340
* libcurl-security.3: improved layout for two rememdy listsDaniel Stenberg2018-05-311-8/+12
|
* libcurl-security.3: refer to URL instead of in-source markdown fileDaniel Stenberg2018-05-311-2/+2
|
* curl.rc: embed manifest for correct Windows version detectionViktor Szakats2018-05-304-5/+61
| | | | | | | | | | | | | | | | | | | | | | | * enable it in `src/Makefile.m32` * enable it in `winbuild/MakefileBuild.vc` if a custom manifest is _not_ enabled via the existing `EMBED_MANIFEST` option * enable it for all Windows CMake builds (also disable the built-in minimal manifest, added by CMake by default.) For other build systems, add the `-DCURL_EMBED_MANIFEST` option to the list of RC (Resource Compiler) flags to enable the manifest included in `src/curl.rc`. This may require to disable whatever automatic or other means in which way another manifest is added to `curl.exe`. Notice that Borland C doesn't support this method due to a long-pending resource compiler bug. Watcom C may also not handle it correctly when the `-zm` `wrc` option is used (this option may be unnecessary though) and regardless of options in certain earlier revisions of the 2.0 beta version. Closes https://github.com/curl/curl/pull/1221 Fixes https://github.com/curl/curl/issues/2591
* os400: sync EBCDIC wrappers and ILE/RPG binding with latest optionsPatrick Monnerat2018-05-303-2/+66
|
* os400: implement mime api EBCDIC wrappersPatrick Monnerat2018-05-303-1/+210
| | | | Also sync ILE/RPG binding to define the new functions.
* setopt: add TLS 1.3 ciphersuitesDaniel Stenberg2018-05-2919-11/+260
| | | | | | | | | | Adds CURLOPT_TLS13_CIPHERS and CURLOPT_PROXY_TLS13_CIPHERS. curl: added --tls13-ciphers and --proxy-tls13-ciphers Fixes #2435 Reported-by: zzq1015 on github Closes #2607
* configure: override AR_FLAGS to silence warningDaniel Stenberg2018-05-291-1/+2
| | | | | | | | | | | | | | The automake default ar flags are 'cru', but the 'u' flag in there causes warnings on many modern Linux distros. Removing 'u' may have a minor performance impact on older distros but should not cause harm. Explained on the automake mailing list already back in April 2015: https://www.mail-archive.com/automake-patches@gnu.org/msg07705.html Reported-by: elephoenix on github Fixes #2617 Closes #2619
* cmake: fixed comments in compile checks codeSergei Nikulov2018-05-291-3/+3
|
* INSTALL: LDFLAGS=-Wl,-R/usr/local/ssl/libDaniel Stenberg2018-05-291-3/+2
| | | | | | | | ... the older description doesn't work Reported-by: Peter Varga Fixes #2615 Closes #2616
* KNOWN_BUGS: restore text regarding #2101.Will Dietz2018-05-291-0/+3
| | | | | | | | | | | | | | | | | | This was added earlier but appears to have been removed accidentally. AFAICT this is very much still an issue. ----- I say "accidentally" because the text seems to have harmlessly snuck into [1] (which makes no mention of it). [1] was later reverted for unspecified reasons in [2], presumably because the mentioned issue was fixed or invalid. [1] de9fac00c40db321d44fa6fbab6eb62ec4c83998 [2] 16d1f369403cbb04bd7b085eabbeebf159473fc2 Closes #2618
* fnmatch: insist on escaped bracket to matchDaniel Stenberg2018-05-282-6/+15
| | | | | | | | | | | | A non-escaped bracket ([) is for a character group - as documented. It will *not* match an individual bracket anymore. Test case 1307 updated accordingly to match. Problem detected by OSS-Fuzz, although this fix is probably not a final fix for the notorious timeout issues. Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8525 Closes #2614
* psl: use latest psl and refresh it periodicallyPatrick Monnerat2018-05-2814-29/+254
| | | | | | | | | | | The latest psl is cached in the multi or share handle. It is refreshed before use after 72 hours. New share lock CURL_LOCK_DATA_PSL controls the psl cache sharing. If the latest psl is not available, the builtin psl is used. Reported-by: Yaakov Selkowitz Fixes #2553 Closes #2601
* configure: fix ssh2 linking when built with a static mbedtlsFabrice Fontaine2018-05-281-1/+1
| | | | | | | | | | | | | | | | | | | The ssh2 pkg-config file could contain the following lines when build with a static version of mbedtls: Libs: -L${libdir} -lssh2 /xxx/libmbedcrypto.a Libs.private: /xxx/libmbedcrypto.a This static mbedtls library must be used to correctly detect ssh2 support and this library must be copied in libcurl.pc otherwise compilation of any application (such as upmpdcli) with libcurl will fail when trying to found mbedtls functions included in libssh2. So, replace pkg-config --libs-only-l by pkg-config --libs. Fixes: - http://autobuild.buildroot.net/results/43e24b22a77f616d6198c10435dcc23cc3b9088a Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Closes #2613
* RELEASE-NOTES: syncedDaniel Stenberg2018-05-281-3/+34
|
* cmake: check for getpwuid_rBernhard Walle2018-05-282-0/+4
| | | | | | | The autotools-based build system does it, so we do it also in CMake. Bug: #2609 Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
* cmdline-opts/gen.pl: warn if mutexes: or see-also: list non-existing optionsDaniel Stenberg2018-05-281-0/+6
|
* curl.1: Fix cmdline-opts reference errors.Frank Gevaerts2018-05-283-3/+3
| | | | | | | | | --data, --form, and --ntlm were declared to be mutually exclusive with non-existing options. --data and --form referred to --upload (which is short for --upload-file and therefore did work, so this one was merely a bit confusing), --ntlm referred to --negotiated instead of --negotiate. Closes #2612
* docs: fix cmdline-opts metadata headers case consistency.Frank Gevaerts2018-05-2812-14/+14
| | | | Almost all headers start with an uppercase letter, but some didn't.
* mailmap: Max SavenkovDaniel Stenberg2018-05-281-0/+1
|
* Fix the test for fsetxattr and strerror_r tests in CMake to work without ↵maxed2018-05-282-17/+17
| | | | compiling
* mailmap: a Richard Alcock fixupDaniel Stenberg2018-05-271-0/+1
|
* schannel: add failf calls for client certificate failuresralcock2018-05-271-0/+4
| | | | Closes #2604
* winbuild: In MakefileBuild.vc fix typo DISTDIR->DIRDISTrichardthe3rd2018-05-271-1/+1
| | | | | | Change requirement from $(DISTDIR) to $(DIRDIST) closes #2603
* winbuild: only delete OUTFILE if it existsrichardthe3rd2018-05-271-1/+3
| | | | | | | | This removes the slightly annoying "Could not file LIBCURL_OBJS.inc" and "Could not find CURL_OBJS.inc.inc" message when building into a clean folder. closes #2602
* content_encoding: handle zlib versions too old for Z_BLOCKAlejandro R. Sedeño2018-05-251-0/+6
| | | | | | | Fallback on Z_SYNC_FLUSH when Z_BLOCK is not available. Fixes #2606 Closes #2608
* multi: provide a socket to wait for in Curl_protocol_getsockDaniel Stenberg2018-05-241-1/+5
| | | | | | | | ... even when there's no protocol specific handler setup. Bug: https://curl.haxx.se/mail/lib-2018-05/0062.html Reported-by: Sean Miller Closes #2600
* httpauth: add support for Bearer tokensLinus Lewandowski2018-05-248-5/+124
| | | | Closes #2102
* TODO: CURLINFO_PAUSE_STATEDaniel Stenberg2018-05-241-0/+6
| | | | Closes #2588
* cmake: set -d postfix for debug builds if not specifiedSergei Nikulov2018-05-245-24/+3
| | | | | | using -DCMAKE_DEBUG_POSTFIX explicitly fixes #2121, obsoletes #2384