1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 19:45:04 -05:00
Go to file
Jay Satiro f43b7b6cb6 vtls: Fail on unrecognized param for CURLOPT_SSLVERSION
- Fix GnuTLS code for CURL_SSLVERSION_TLSv1_2 that broke when the
TLS 1.3 support was added in 6ad3add.

- Homogenize across code for all backends the error message when TLS 1.3
is not available to "<backend>: TLS 1.3 is not yet supported".

- Return an error when a user-specified ssl version is unrecognized.

---

Prior to this change our code for some of the backends used the
'default' label in the switch statement (ie ver unrecognized) for
ssl.version and treated it the same as CURL_SSLVERSION_DEFAULT.

Bug: https://curl.haxx.se/mail/lib-2016-11/0048.html
Reported-by: Kamil Dudka
2016-11-09 22:08:49 -05:00
.github s/cURL/curl 2016-11-07 10:36:23 +01:00
CMake cmake: disable poll for macOS 2016-11-06 15:16:52 +01:00
docs CODE_STYLE.md: link to INTERNALS.md correctly 2016-11-09 09:56:13 +01:00
include bump: next version will be 7.52.0 2016-11-09 09:15:58 +01:00
lib vtls: Fail on unrecognized param for CURLOPT_SSLVERSION 2016-11-09 22:08:49 -05:00
m4 s/cURL/curl 2016-11-07 10:36:23 +01:00
packages vtls: support TLS 1.3 via CURL_SSLVERSION_TLSv1_3 2016-11-07 11:52:07 +01:00
projects generate.bat: Include include/curl in libcurl VS projects 2016-11-01 21:31:10 -04:00
scripts contrithanks.sh: exclude existing names case insensitively 2016-05-23 10:07:48 +02:00
src curl: introduce the --tlsv1.3 option to force TLS 1.3 2016-11-07 12:07:11 +01:00
tests s/cURL/curl 2016-11-07 10:36:23 +01:00
winbuild winbuild: remove strcase.obj from curl build 2016-11-02 14:45:24 +01:00
.dir-locals.el Add .dir-locals and set c-basic-offset to 2. 2015-12-23 10:16:14 +01:00
.gitattributes Tell git to not convert configure-related files. 2012-07-17 20:35:23 +02:00
.gitignore build: Install zsh completion 2015-11-24 22:22:01 +01:00
.travis.yml travis: removed option to rebuild autotool from source 2016-08-03 13:25:32 +02:00
acinclude.m4 configure: verify that compiler groks -Werror=partial-availability 2016-11-03 23:37:59 +01:00
appveyor.yml Appveyor: Updates for options - CURL_STATICLIB/BUILD_TESTING 2016-07-01 09:53:22 +02:00
buildconf URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
buildconf.bat dist: ship buildconf.bat too 2016-02-12 16:45:25 +01:00
CHANGES URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
CHANGES.0 URLs: change more http to https 2016-02-04 18:46:54 -05:00
CMakeLists.txt cmake: disable poll for macOS 2016-11-06 15:16:52 +01:00
configure.ac idn: switch to libidn2 use and IDNA2008 support 2016-10-31 08:46:35 +01:00
COPYING COPYING: clarify that Daniel is not the sole author 2016-02-06 18:40:27 +01:00
CTestConfig.cmake ENH: move dashboard location 2009-07-15 19:40:46 +00:00
curl-config.in URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
GIT-INFO GIT-INFO: remove the Mac 10.1-specific details 2016-10-10 10:29:19 +02:00
libcurl.pc.in URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
MacOSX-Framework MacOSX-Framework: sdk regex fix for sdk 10.10 and later 2015-10-25 12:35:49 +01:00
Makefile.am dist: add missing cmake modules to the tarball 2016-10-11 22:57:36 -04:00
Makefile.dist URLs: change all http:// URLs to https:// 2016-02-03 00:19:02 +01:00
maketgz maketgz: make it support "only" generating version info 2016-10-17 09:29:46 +02:00
README URLs: follow GitHub project rename (also Travis CI) 2016-02-04 23:01:38 +01:00
README.md README.md: add our CII Best Practices badge 2016-08-15 11:15:01 +02:00
RELEASE-NOTES RELEASE-NOTES: synced with dfcdaaba37 2016-11-09 09:14:44 +01:00

curl logo CII Best Practices

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 find answers to the most frequent questions we get in the FAQ document.

Study the COPYING file for distribution terms and similar. If you distribute curl binaries or other binaries that involve libcurl, you might enjoy the LICENSE-MIXING document.

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.

Website

Visit the curl web site for the latest news and downloads.

Git

To download the very latest source off the Git server do this:

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

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

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.