Curl is a tool and libcurl is a library for transferring data with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TFTP, SCP, SFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3, RTSP and RTMP. libcurl offers a myriad of powerful features
Перейти к файлу
Viktor Szakats 9fb6cc54c5
tidy-up: use `OPENSSL_VERSION_NUMBER`
Uniformly use `OPENSSL_VERSION_NUMBER` to check for OpenSSL version.
Before this patch some places used `OPENSSL_VERSION_MAJOR`.

Also fix `lib/md4.c`, which included `opensslconf.h`, but that doesn't
define any version number in these implementations: BoringSSL, AWS-LC,
LibreSSL, wolfSSL. (Only in mainline OpenSSL/quictls). Switch that to
`opensslv.h`. This wasn't causing a deeper problem because the code is
looking for v3, which is only provided by OpenSSL/quictls as of now.

According to https://github.com/openssl/openssl/issues/17517, the macro
`OPENSSL_VERSION_NUMBER` is safe to use and not deprecated.

Reviewed-by: Marcel Raad
Closes #12298
2023-11-08 17:55:22 +00:00
.circleci CI: run Circle macOS builds on x86 for now 2023-09-05 22:53:40 -07:00
.github GHA: fix checkout of quictls repository to use correct branch name 2023-10-30 16:58:45 +01:00
.reuse tool: use our own stderr variable 2023-09-28 10:50:56 +00:00
CMake build: delete `HAVE_STDINT_H` and `HAVE_INTTYPES_H` 2023-11-06 17:20:39 +00:00
LICENSES
docs resolve.d: drop a multi use-sentence 2023-11-08 12:40:24 +01:00
include RELEASE-NOTES: synced 2023-10-22 10:58:08 +02:00
lib tidy-up: use `OPENSSL_VERSION_NUMBER` 2023-11-08 17:55:22 +00:00
m4 tidy-up: use `OPENSSL_VERSION_NUMBER` 2023-11-08 17:55:22 +00:00
packages spelling: fix codespell 2.2.6 typos 2023-10-03 21:37:56 +00:00
plan9
projects projects: add VC14.20 project files 2023-11-07 09:29:19 +01:00
scripts build: delete `HAVE_STDINT_H` and `HAVE_INTTYPES_H` 2023-11-06 17:20:39 +00:00
src curl: move IPFS code into src/tool_ipfs.[ch] 2023-11-07 07:42:28 +01:00
tests lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
winbuild build: do not publish `HAVE_BORINGSSL`, `HAVE_AWSLC` macros 2023-10-08 22:29:45 +00:00
.azure-pipelines.yml CI: move distcheck job from Azure Pipelines to GitHub Actions 2023-10-08 19:36:16 +02:00
.cirrus.yml CI: bump OpenLDAP package version on FreeBSD 2023-10-07 12:52:07 -07:00
.dcignore
.dir-locals.el
.git-blame-ignore-revs
.gitattributes
.gitignore tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
.mailmap mailmap: unify Michael Osipov under a single email 2023-09-21 14:18:49 +02:00
CHANGES
CMakeLists.txt build: delete `HAVE_STDINT_H` and `HAVE_INTTYPES_H` 2023-11-06 17:20:39 +00:00
COPYING
GIT-INFO
MacOSX-Framework
Makefile.am Makefile.am: drop vc10, vc11 and vc12 projects from dist 2023-11-07 11:34:24 +01:00
Makefile.dist
README
README.md tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
RELEASE-NOTES RELEASE-NOTES: synced 2023-11-05 23:28:45 +01:00
SECURITY.md SECURITY-PROCESS.md. call it vulnerability disclosure policy 2023-09-14 17:04:33 +02:00
acinclude.m4 build: variadic macro tidy-ups 2023-10-27 00:37:34 +00:00
appveyor.yml appveyor: make VS2008-built curl tool runnable 2023-11-03 22:53:45 +00:00
buildconf
buildconf.bat
configure.ac HTTP3: ngtcp2 builds are no longer experimental 2023-10-31 14:31:46 +01:00
curl-config.in
libcurl.def curl_multi_get_handles: get easy handles from a multi handle 2023-09-25 20:16:58 +02:00
libcurl.pc.in
maketgz

README.md

curl logo

Curl is a command-line tool for transferring data specified with URL syntax. Find out how to use curl by reading the curl.1 man page or the MANUAL document. Find out how to install Curl by reading the INSTALL document.

libcurl is the library curl is using to do its job. It is readily available to be used by your software. Read the libcurl.3 man page to learn how.

You can find answers to the most frequent questions we get in the FAQ document.

Study the COPYING file for distribution terms.

Contact

If you have problems, questions, ideas or suggestions, please contact us by posting to a suitable mailing list.

All contributors to the project are listed in the THANKS document.

Commercial support

For commercial support, maybe private and dedicated help with your problems or applications using (lib)curl visit the support page.

Website

Visit the curl website for the latest news and downloads.

Git

To download the latest source from the Git server, do this:

git clone https://github.com/curl/curl.git

(you will get a directory named curl created, filled with the source code)

Security problems

Report suspected security problems via our HackerOne page and not in public.

Notice

Curl contains pieces of source code that is Copyright (c) 1998, 1999 Kungliga Tekniska Högskolan. This notice is included here to comply with the distribution terms.

Backers

Thank you to all our backers! 🙏 Become a backer.

Sponsors

Support this project by becoming a sponsor.