summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* docs/RELEASE-PROCEDURE.md: renamed to use .md extensionbagder/release-procedure-markdownDaniel Stenberg2018-06-152-7/+39
|
* RELEASE-PROCEDURE: gpg sign the tagsDaniel Stenberg2018-06-151-2/+3
|
* CURLOPT_HTTPAUTH.3: CURLAUTH_BEARER was added in 7.61.0Daniel Stenberg2018-06-151-1/+3
|
* maketgz: fix sed issues on OSXMamta Upadhyay2018-06-141-3/+3
| | | | | | | | | | | | | | | | | maketgz creates release tarballs and removes the -DEV string in curl version (e.g. 7.58.0-DEV), else -DEV shows up on command line when curl is run. maketgz works fine on linux but fails on OSX. Problem is with the sed commands that use option -i without an extension. Maketgz expects GNU sed instead of BSD and this simply won't work on OSX. Adding a backup extension .bak after -i fixes this issue Running the script as if on OSX gives this error: sed: -e: No such file or directory Adding a .bak extension resolves it Closes #2660
* configure: enhance ability to detect/build with static opensslDaniel Stenberg2018-06-141-2/+2
| | | | | | | | | Fix the -ldl and -ldl + -lpthread checks for OpenSSL, necessary for building with static libs without pkg-config. Reported-by: Marcel Raad Fixes #2199 Closes #2659
* configure: use pkg-config for c-ares detectionDaniel Stenberg2018-06-141-7/+32
| | | | | | | | | First check if there's c-ares information given as pkg-config info and use that as first preference. Reported-by: pszemus on github Fixes #2203 Closes #2658
* GOVERNANCE.md: explains how this project is runDaniel Stenberg2018-06-142-1/+89
| | | | Closes #2657
* KNOWN_BUGS: NTLM doen't support password with § characterDaniel Stenberg2018-06-141-0/+5
| | | | Closes #2120
* KNOWN_BUGS: slow connect to localhost on WindowsDaniel Stenberg2018-06-141-0/+14
| | | | Closes #2281
* mk-ca-bundle.pl: make -u delete certdata.txt if found not changedMatteo Bignotti2018-06-141-0/+3
| | | | | | | | | | certdata.txt should be deleted also when the process is interrupted by "same certificate downloaded, exiting" The certdata.txt is currently kept on disk even if you give the -u option Closes #2655
* progress: remove a set of unused definesDaniel Stenberg2018-06-131-13/+0
| | | | | Reported-by: Peter Wu Closes #2654
* TODO: "Option to refuse usernames in URLs" doneDaniel Stenberg2018-06-131-11/+0
| | | | Implemented by Björn in 946ce5b61f
* Curl_init_do: handle NULL connection pointer passed inLyman Epp2018-06-131-6/+8
| | | | Closes #2653
* runtests: support variables in <strippart>Daniel Stenberg2018-06-122-2/+7
| | | | | | | | ... and make use of that to make 1455 work better without using a fixed local port number. Fixes #2649 Closes #2650
* Curl_debug: remove dead printhost codeDaniel Stenberg2018-06-1212-74/+30
| | | | | | | | | The struct field is never set (since 5e0d9aea3) so remove the use of it and remove the connectdata pointer from the prototype. Reported-by: Tejas Bug: https://curl.haxx.se/mail/lib-2018-06/0054.html Closes #2647
* schannel: avoid incompatible pointer warningViktor Szakats2018-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | with clang-6.0: ``` vtls/schannel_verify.c: In function 'add_certs_to_store': vtls/schannel_verify.c:212:30: warning: passing argument 11 of 'CryptQueryObject' from incompatible pointer type [-Wincompatible-pointer-types] &cert_context)) { ^ In file included from /usr/share/mingw-w64/include/schannel.h:10:0, from /usr/share/mingw-w64/include/schnlsp.h:9, from vtls/schannel.h:29, from vtls/schannel_verify.c:40: /usr/share/mingw-w64/include/wincrypt.h:4437:26: note: expected 'const void **' but argument is of type 'CERT_CONTEXT ** {aka struct _CERT_CONTEXT **}' WINIMPM WINBOOL WINAPI CryptQueryObject (DWORD dwObjectType, const void *pvObject, DWORD dwExpectedContentTypeFlags, DWORD dwExpectedFormatTypeFlags, DWORD dwFlags, ^~~~~~~~~~~~~~~~ ``` Ref: https://msdn.microsoft.com/library/windows/desktop/aa380264 Closes https://github.com/curl/curl/pull/2648
* schannel: support selecting ciphersRobert Prag2018-06-122-0/+172
| | | | | | | | | | | | | | Given the contstraints of SChannel, I'm exposing these as the algorithms themselves instead; while replicating the ciphersuite as specified by OpenSSL would have been preferable, I found no way in the SChannel API to do so. To use this from the commandline, you need to pass the names of contants defining the desired algorithms. For example, curl --ciphers "CALG_SHA1:CALG_RSA_SIGN:CALG_RSA_KEYX:CALG_AES_128:CALG_DH_EPHEM" https://github.com The specific names come from wincrypt.h Closes #2630
* test 46: make test pass after 2025Bernhard M. Wiedemann2018-06-121-4/+4
| | | | | | | | | shifting the expiry date to 2037 for now to be before the possibly problematic year 2038 similar in spirit to commit e6293cf8764e9eecb Closes #2646
* cppcheck: fix warningsMarian Klymov2018-06-1161-273/+213
| | | | | | | | | | | | | - Get rid of variable that was generating false positive warning (unitialized) - Fix issues in tests - Reduce scope of several variables all over etc Closes #2631
* openssl: assume engine support in 1.0.1 or laterDaniel Stenberg2018-06-114-21/+15
| | | | | | | | | | | | Previously it was checked for in configure/cmake, but that would then leave other build systems built without engine support. While engine support probably existed prior to 1.0.1, I decided to play safe. If someone experience a problem with this, we can widen the version check. Fixes #2641 Closes #2644
* RELEASE-NOTES: syncedDaniel Stenberg2018-06-111-8/+58
|
* RELEASE-PROCEDURE: update the release calendar for 2019Daniel Stenberg2018-06-111-4/+4
|
* boringssl + schannel: undef X509_NAME in lib/schannel.hGisle Vanem2018-06-082-9/+19
| | | | | | | Fixes the build problem when both boringssl and schannel are enabled. Fixes #2634 Closes #2643
* 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