curl/lib
Daniel Stenberg 2d266118d9
url: make default TLS version be minimum 1.2
This still allows users to explictily ask for 1.0 or 1.1 as the minimum
version. If the TLS library allows it.

Starting with this change, the CURL_SSLVERSION_DEFAULT value is no
longer used as minimum version when the TLS backend are called.

This also makes curl set the minimum version to 1.2 independently of
libcurl for the rare case where a newer curl tool would use an older
libcurl.

URL: https://curl.se/mail/lib-2025-07/0007.html
Assisted-by: Stefan Eissing
2025-07-27 18:00:30 +02:00
..
curlx tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
vauth tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
vquic vquic: drop msh3 2025-07-27 17:57:17 +02:00
vssh tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
vtls url: make default TLS version be minimum 1.2 2025-07-27 18:00:30 +02:00
.checksrc checksrc: reduce exceptions, apply again to curlx 2025-06-27 17:33:35 +02:00
.gitignore unit tests: extract "private" prototypes at build time 2025-06-30 23:16:40 +02:00
altsvc.c altsvc: accept 'clear' without semicolon as well 2025-07-13 17:02:34 +02:00
altsvc.h
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c connection: clarify transport 2025-07-14 14:33:18 +02:00
asyn-base.c
asyn-thrdd.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
asyn.h
bufq.c bufq: change read/write signatures 2025-06-27 14:16:21 +02:00
bufq.h tidy-up: whitespace 2025-07-11 13:32:54 +02:00
bufref.c
bufref.h
cf-h1-proxy.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
cf-h1-proxy.h
cf-h2-proxy.c build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
cf-h2-proxy.h
cf-haproxy.c cf: replace the method get_host with query 2025-06-21 17:20:44 +02:00
cf-haproxy.h
cf-https-connect.c connection: clarify transport 2025-07-14 14:33:18 +02:00
cf-https-connect.h cf-https-connect: delete unused declaration 2025-07-27 11:04:11 +02:00
cf-socket.c vquic: drop msh3 2025-07-27 17:57:17 +02:00
cf-socket.h vquic: drop msh3 2025-07-27 17:57:17 +02:00
cfilters.c connection: clarify transport 2025-07-14 14:33:18 +02:00
cfilters.h connection: clarify transport 2025-07-14 14:33:18 +02:00
CMakeLists.txt unit tests: extract "private" prototypes at build time 2025-06-30 23:16:40 +02:00
config-mac.h build: stop checking for sys/stat.h 2025-06-24 09:44:28 +02:00
config-os400.h vquic: drop msh3 2025-07-27 17:57:17 +02:00
config-plan9.h build: stop checking for sys/stat.h 2025-06-24 09:44:28 +02:00
config-riscos.h build: stop checking for sys/stat.h 2025-06-24 09:44:28 +02:00
config-win32.h config-win32: fix to set target version early 2025-07-15 12:56:05 +02:00
conncache.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
conncache.h misc: fix typos 2025-07-12 08:59:44 +02:00
connect.c windows: drop unused curlx/version_win32.h includes 2025-07-24 14:31:30 +02:00
connect.h dns_entry: move from conn to data->state 2025-05-20 14:49:17 +02:00
content_encoding.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
content_encoding.h
cookie.c misc: fix typos 2025-07-12 08:59:44 +02:00
cookie.h
cshutdn.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
cshutdn.h
curl_addrinfo.c curl_addrinfo: drop workaround for old-mingw 2025-07-27 11:32:27 +02:00
curl_addrinfo.h
curl_config.h.cmake vquic: drop msh3 2025-07-27 17:57:17 +02:00
curl_ctype.h
curl_des.c TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00
curl_des.h TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00
curl_endian.c
curl_endian.h
curl_fnmatch.c curl_fnmatch, servers: drop local macros in favour of sizeof() 2025-07-21 16:14:14 +02:00
curl_fnmatch.h
curl_get_line.c curl_get_line: make sure lines end with newline 2025-06-22 12:58:53 +02:00
curl_get_line.h
curl_gethostname.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
curl_gethostname.h
curl_gssapi.c tests: move GSS-API dynamic stub into debug-mode libcurl 2025-07-01 00:17:15 +02:00
curl_gssapi.h tests: move GSS-API dynamic stub into debug-mode libcurl 2025-07-01 00:17:15 +02:00
curl_hmac.h build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
curl_krb5.h
curl_ldap.h
curl_md4.h
curl_md5.h tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
curl_memory.h windows: drop redundant curl_wcsdup_callback callback 2025-07-08 13:33:38 +02:00
curl_memrchr.c
curl_memrchr.h
curl_ntlm_core.c TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00
curl_ntlm_core.h vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
curl_printf.h
curl_range.c
curl_range.h
curl_rtmp.c lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
curl_rtmp.h
curl_sasl.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
curl_sasl.h vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
curl_setup.h vquic: drop msh3 2025-07-27 17:57:17 +02:00
curl_setup_once.h build: stop checking for sys/stat.h 2025-06-24 09:44:28 +02:00
curl_sha256.h tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
curl_sha512_256.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
curl_sha512_256.h
curl_sspi.c windows: drop unused curlx/version_win32.h includes 2025-07-24 14:31:30 +02:00
curl_sspi.h tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
curl_threads.c windows: target version macro tidy-ups 2025-07-23 22:43:52 +02:00
curl_threads.h windows: target version macro tidy-ups 2025-07-23 22:43:52 +02:00
curl_trc.c build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
curl_trc.h
cw-out.c xfer: manage pause bits 2025-06-20 22:59:08 +02:00
cw-out.h
cw-pause.c
cw-pause.h
dict.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
dict.h
dllmain.c dllmain: exclude from Cygwin builds 2025-06-03 14:30:31 -04:00
doh.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
doh.h
dynhds.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
dynhds.h spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
easy.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
easy_lock.h
easygetopt.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
easyif.h
easyoptions.c
easyoptions.h
escape.c urlapi: use uppercase hex encoding 2025-06-25 11:44:13 +02:00
escape.h urlapi: use uppercase hex encoding 2025-06-25 11:44:13 +02:00
fake_addrinfo.c
fake_addrinfo.h
file.c
file.h
fileinfo.c
fileinfo.h
fopen.c
fopen.h
formdata.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
formdata.h formdata: cleanups 2025-05-19 13:26:02 +02:00
ftp.c build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
ftp.h ftp: fix prequotes for a directory in URL 2025-06-20 23:22:24 +02:00
ftplistparser.c ftplistparser: split parse_unix into sub functions 2025-06-20 23:30:04 +02:00
ftplistparser.h
functypes.h
getenv.c
getinfo.c quic: implement CURLINFO_TLS_SSL_PTR 2025-07-06 20:29:54 +02:00
getinfo.h
gopher.c
gopher.h
hash.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
hash.h tidy-up: whitespace 2025-07-11 13:32:54 +02:00
headers.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
headers.h
hmac.c hmac: return error if init fails 2025-07-23 23:11:25 +02:00
hostip.c lib: fix unused parameter/function compiler warnings 2025-07-04 16:46:53 +02:00
hostip.h dns_entry: move from conn to data->state 2025-05-20 14:49:17 +02:00
hostip4.c GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
hostip6.c connection: clarify transport 2025-07-14 14:33:18 +02:00
hsts.c lib: stop time() debug overrides at the end of source in altsvc, hsts 2025-07-12 08:59:44 +02:00
hsts.h
http.c http: silence -Warray-bounds with gcc 13+ 2025-07-26 13:42:10 +02:00
http.h vquic: drop msh3 2025-07-27 17:57:17 +02:00
http1.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
http1.h
http2.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
http2.h
http_aws_sigv4.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
http_aws_sigv4.h license: update some copyright links to curl.se 2025-06-01 13:44:15 +02:00
http_chunks.c
http_chunks.h spelling: 'a' vs 'an' 2025-05-30 11:38:35 +02:00
http_digest.c
http_digest.h
http_negotiate.c vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
http_negotiate.h vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
http_ntlm.c http_ntlm: remove unreachable code 2025-06-11 23:06:06 +02:00
http_ntlm.h vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
http_proxy.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
http_proxy.h tidy-up: whitespace/indent 2025-07-14 18:33:43 +02:00
httpsrr.c
httpsrr.h
idn.c windows: target version macro tidy-ups 2025-07-23 22:43:52 +02:00
idn.h
if2ip.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
if2ip.h
imap.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
imap.h
krb5.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
ldap.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
libcurl.def
libcurl.rc
libcurl.vers.in
llist.c lib: address singleuse issues 2025-06-25 11:46:26 +02:00
llist.h misc: fix typos 2025-07-12 08:59:44 +02:00
macos.c
macos.h
Makefile.am unit tests: extract "private" prototypes at build time 2025-06-30 23:16:40 +02:00
Makefile.inc vquic: drop msh3 2025-07-27 17:57:17 +02:00
Makefile.soname tests: always make bundles, adapt build and tests 2025-06-14 21:08:23 +02:00
md4.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
md5.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
memdebug.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
memdebug.h memory: tidy up _tcsdup() override 2025-07-07 15:32:15 +02:00
mime.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
mime.h
mprintf.c mprintf: move outputs into separate functions 2025-05-21 22:56:02 +02:00
mqtt.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
mqtt.h
multi.c misc: fix typos 2025-07-12 08:59:44 +02:00
multi_ev.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
multi_ev.h multi: add dirty bitset 2025-06-21 17:19:11 +02:00
multihandle.h multi: add dirty bitset 2025-06-21 17:19:11 +02:00
multiif.h tidy-up: whitespace 2025-07-11 13:32:54 +02:00
netrc.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
netrc.h
noproxy.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
noproxy.h
openldap.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
optiontable.pl
parsedate.c GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
parsedate.h
pingpong.c openssl: fix handling of buffered data 2025-06-13 00:32:06 +02:00
pingpong.h misc: fix typos 2025-07-12 08:59:44 +02:00
pop3.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
pop3.h
progress.c system.h: remove some macros 2025-06-05 10:56:31 +02:00
progress.h lib: change progress bitwise ops to bitfields 2025-05-23 23:13:03 +02:00
psl.c
psl.h
rand.c windows: target version macro tidy-ups 2025-07-23 22:43:52 +02:00
rand.h
rename.c
rename.h
request.c bufq: change read/write signatures 2025-06-27 14:16:21 +02:00
request.h
rtsp.c rtsp: remove redundant condition 2025-05-12 11:03:44 +02:00
rtsp.h
select.c lib: make curlx_wait_ms() and use it 2025-06-19 15:57:37 +02:00
select.h lib: make curlx_wait_ms() and use it 2025-06-19 15:57:37 +02:00
sendf.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
sendf.h
setopt.c url: make default TLS version be minimum 1.2 2025-07-27 18:00:30 +02:00
setopt.h url: make default TLS version be minimum 1.2 2025-07-27 18:00:30 +02:00
setup-os400.h
setup-vms.h tidy-up: drop redundant #ifdef before #undef 2025-07-12 08:59:44 +02:00
setup-win32.h windows: drop redundant curl_wcsdup_callback callback 2025-07-08 13:33:38 +02:00
sha256.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
share.c
share.h
sigpipe.h
slist.c
slist.h
smb.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
smb.h
smtp.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
smtp.h
sockaddr.h
socketpair.c vquic: drop msh3 2025-07-27 17:57:17 +02:00
socketpair.h vquic: drop msh3 2025-07-27 17:57:17 +02:00
socks.c pytest: add SOCKS tests and scoring 2025-07-23 18:12:31 +02:00
socks.h lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
socks_gssapi.c tidy-up: whitespace/indent 2025-07-14 18:33:43 +02:00
socks_sspi.c lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
speedcheck.c xfer: manage pause bits 2025-06-20 22:59:08 +02:00
speedcheck.h
splay.c
splay.h
strcase.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
strcase.h lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
strdup.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
strdup.h
strequal.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
strerror.c curl.h: remove the "RESERVED" error codes 2025-06-09 23:57:23 +02:00
strerror.h
system_win32.c windows: reduce/stop loading DLLs at runtime 2025-06-11 05:39:09 +02:00
system_win32.h windows: reduce/stop loading DLLs at runtime 2025-06-11 05:39:09 +02:00
telnet.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
telnet.h
tftp.c connection: clarify transport 2025-07-14 14:33:18 +02:00
tftp.h
transfer.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
transfer.h xfer: manage pause bits 2025-06-20 22:59:08 +02:00
uint-bset.c lib: address singleuse issues 2025-06-25 11:46:26 +02:00
uint-bset.h multi: xfer table/bitset, handle limits 2025-06-24 15:02:52 +02:00
uint-hash.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
uint-hash.h
uint-spbset.c lib: address singleuse issues 2025-06-25 11:46:26 +02:00
uint-spbset.h lib: address singleuse issues 2025-06-25 11:46:26 +02:00
uint-table.c lib: address singleuse issues 2025-06-25 11:46:26 +02:00
uint-table.h lib: address singleuse issues 2025-06-25 11:46:26 +02:00
url.c url: make default TLS version be minimum 1.2 2025-07-27 18:00:30 +02:00
url.h ngtcp2: fix coverity warning about result handling 2025-07-07 08:58:46 +02:00
urlapi-int.h
urlapi.c lib: drop two interim macros in favor of native libcurl API calls 2025-06-30 18:38:56 +02:00
urldata.h connection: clarify transport 2025-07-14 14:33:18 +02:00
version.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
ws.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
ws.h