curl/lib
Jan Venekamp fba9afebba
mbedTLS: implement CURLOPT_SSL_CIPHER_LIST option
Use a lookup list to set the cipher suites, allowing the
ciphers to be set by either openssl or IANA names.

To keep the binary size of the lookup list down we compress
each entry in the cipher list down to 2 + 6 bytes using the
C preprocessor.

Closes #13442
2024-04-24 14:30:37 +02:00
..
vauth digest: add check for hashing error 2024-03-07 10:24:27 +01:00
vquic quiche: expire all active transfers on connection close 2024-04-24 08:31:37 +02:00
vssh lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
vtls mbedTLS: implement CURLOPT_SSL_CIPHER_LIST option 2024-04-24 14:30:37 +02:00
.checksrc
.gitattributes
.gitignore build: remove MacOSX-Framework script 2024-04-08 22:46:51 +02:00
altsvc.c lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
altsvc.h
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
asyn-thread.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
asyn.h
base64.c build: fix builds that disable protocols but not digest auth 2023-12-01 23:26:53 -05:00
bufq.c bufq: writing into a softlimit queue cannot be partial 2024-03-03 17:35:47 +01:00
bufq.h lib: Curl_read/Curl_write clarifications 2024-02-28 12:58:55 +01:00
bufref.c lib: rename Curl_strndup to Curl_memdup0 to avoid misunderstanding 2023-12-08 17:22:33 +01:00
bufref.h
c-hyper.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
c-hyper.h http: expect 100 rework 2024-03-18 12:41:56 +01:00
cf-h1-proxy.c tls: use shared init code for TCP+QUIC 2024-04-09 09:08:05 +02:00
cf-h1-proxy.h
cf-h2-proxy.c tls: use shared init code for TCP+QUIC 2024-04-09 09:08:05 +02:00
cf-h2-proxy.h
cf-haproxy.c tls: use shared init code for TCP+QUIC 2024-04-09 09:08:05 +02:00
cf-haproxy.h
cf-https-connect.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
cf-https-connect.h
cf-socket.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
cf-socket.h lib: keep conn IP information together 2024-03-09 23:24:58 +01:00
cfilters.c http/2, http/3: decouple stream state from easy handle 2024-04-17 14:24:09 +02:00
cfilters.h http/2, http/3: decouple stream state from easy handle 2024-04-17 14:24:09 +02:00
CMakeLists.txt dllmain: Call OpenSSL thread cleanup for Windows and Cygwin 2024-04-24 04:04:25 -04:00
config-amigaos.h
config-dos.h
config-mac.h
config-os400.h lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
config-plan9.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
config-riscos.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
config-win32.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
config-win32ce.h windows: simplify detecting and using system headers 2023-12-16 13:13:44 +00:00
conncache.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
conncache.h
connect.c lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
connect.h lib: keep conn IP information together 2024-03-09 23:24:58 +01:00
content_encoding.c content_encoding: brotli and others, pass through 0-length writes 2024-03-28 16:21:20 +01:00
content_encoding.h
cookie.c lib: silence warnings on comma misuse 2024-04-17 14:26:35 +02:00
cookie.h
curl_addrinfo.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake idn: add native AppleIDN (icucore) support for macOS/iOS 2024-04-17 00:24:09 +02:00
curl_ctype.h
curl_des.c misc: Fix typos in docs and lib 2024-03-01 09:59:48 +01:00
curl_des.h
curl_endian.c
curl_endian.h
curl_fnmatch.c
curl_fnmatch.h
curl_get_line.c lib: convert Curl_get_line to use dynbuf 2024-02-07 09:22:10 +01:00
curl_get_line.h lib: convert Curl_get_line to use dynbuf 2024-02-07 09:22:10 +01:00
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c
curl_gssapi.h
curl_hmac.h
curl_krb5.h
curl_ldap.h
curl_md4.h
curl_md5.h
curl_memory.h
curl_memrchr.c
curl_memrchr.h
curl_multibyte.c
curl_multibyte.h
curl_ntlm_core.c
curl_ntlm_core.h
curl_path.c
curl_path.h
curl_printf.h curl.h: add CURLE_TOO_LARGE 2023-12-18 10:34:22 +01:00
curl_range.c
curl_range.h
curl_rtmp.c curl_version_info: provide librtmp version 2024-04-15 16:48:34 +02:00
curl_rtmp.h curl_version_info: provide librtmp version 2024-04-15 16:48:34 +02:00
curl_sasl.c sasl: make login option string override http auth 2024-01-26 02:58:21 -05:00
curl_sasl.h
curl_setup_once.h lib: use #error instead of invalid syntax in curl_setup_once.h 2024-04-05 09:24:05 +00:00
curl_setup.h idn: add native AppleIDN (icucore) support for macOS/iOS 2024-04-17 00:24:09 +02:00
curl_sha256.h
curl_sha512_256.c curl_sha512_256: do not use workaround for NetBSD when not needed 2024-03-30 22:44:22 +01:00
curl_sha512_256.h SHA-512/256: implement hash algorithm 2024-02-20 11:35:56 +01:00
curl_sspi.c
curl_sspi.h
curl_threads.c
curl_threads.h
curl_trc.c lib: merge ENABLE_QUIC C macro into USE_HTTP3 2024-04-13 08:33:27 +00:00
curl_trc.h curl_trc: fix build error when lacking verbose messages 2024-04-08 13:57:14 +02:00
curlx.h curl: use curl_getenv instead of the curlx_ version 2024-03-30 22:45:47 +01:00
cw-out.c cw-out: improved error handling 2024-04-16 15:52:10 +02:00
cw-out.h cw-out: improved error handling 2024-04-16 15:52:10 +02:00
dict.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
dict.h
dllmain.c dllmain: Call OpenSSL thread cleanup for Windows and Cygwin 2024-04-24 04:04:25 -04:00
doh.c TLS: add support for ECH (Encrypted Client Hello) 2024-04-16 08:10:53 +02:00
doh.h TLS: add support for ECH (Encrypted Client Hello) 2024-04-16 08:10:53 +02:00
dynbuf.c build: delete/replace clang warning pragmas 2024-01-27 21:19:41 +00:00
dynbuf.h build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
dynhds.c
dynhds.h
easy_lock.h
easy.c cw-out: improved error handling 2024-04-16 15:52:10 +02:00
easygetopt.c curldown: Fix email address in Copyright 2024-02-28 11:28:10 +01:00
easyif.h lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
easyoptions.c TLS: add support for ECH (Encrypted Client Hello) 2024-04-16 08:10:53 +02:00
easyoptions.h
escape.c
escape.h
file.c file: remove useless assignment 2024-04-19 23:46:16 +02:00
file.h
fileinfo.c
fileinfo.h
fopen.c fopen: fix narrowing conversion warning on 32-bit Android 2024-02-27 14:26:22 +01:00
fopen.h
formdata.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
formdata.h
ftp.c ftp: fix socket leak on rare error 2024-04-19 11:10:50 +02:00
ftp.h
ftplistparser.c llist: add Curl_llist_append() 2024-04-11 09:00:51 +02:00
ftplistparser.h
functypes.h
getenv.c
getinfo.c urldata: remove fields not used depending on used features 2024-04-05 16:06:22 +02:00
getinfo.h
gopher.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
gopher.h
hash.c http/2, http/3: decouple stream state from easy handle 2024-04-17 14:24:09 +02:00
hash.h http/2, http/3: decouple stream state from easy handle 2024-04-17 14:24:09 +02:00
headers.c llist: add Curl_llist_append() 2024-04-11 09:00:51 +02:00
headers.h http: move headers collecting to writer 2024-02-26 09:44:15 +01:00
hmac.c
hostasyn.c Revert "urldata: move async resolver state from easy handle to connectdata" 2023-12-15 12:57:35 +01:00
hostip4.c
hostip6.c
hostip.c TLS: add support for ECH (Encrypted Client Hello) 2024-04-16 08:10:53 +02:00
hostip.h TLS: add support for ECH (Encrypted Client Hello) 2024-04-16 08:10:53 +02:00
hostsyn.c
hsts.c llist: add Curl_llist_append() 2024-04-11 09:00:51 +02:00
hsts.h
http1.c
http1.h
http2.c http2 + ngtcp2: pass CURLcode errors from callbacks 2024-04-19 23:45:16 +02:00
http2.h
http_aws_sigv4.c http_aws_sigv4: remove useless assignment 2024-04-19 23:46:54 +02:00
http_aws_sigv4.h
http_chunks.c lib: add trace support for client reads and writes 2024-04-05 16:08:10 +02:00
http_chunks.h lib: Curl_read/Curl_write clarifications 2024-02-28 12:58:55 +01:00
http_digest.c
http_digest.h
http_negotiate.c http_negotiate: fix CURL_DISABLE_PROXY build 2024-04-10 14:56:05 +02:00
http_negotiate.h
http_ntlm.c NTLM_WB: drop support 2024-04-08 13:58:58 +02:00
http_ntlm.h
http_proxy.c tls: use shared init code for TCP+QUIC 2024-04-09 09:08:05 +02:00
http_proxy.h
http.c http: acknowledge a returned error code 2024-04-21 10:49:48 +02:00
http.h http/2, http/3: decouple stream state from easy handle 2024-04-17 14:24:09 +02:00
idn.c idn: add native AppleIDN (icucore) support for macOS/iOS 2024-04-17 00:24:09 +02:00
idn.h idn: add native AppleIDN (icucore) support for macOS/iOS 2024-04-17 00:24:09 +02:00
if2ip.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
if2ip.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
imap.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
imap.h
inet_ntop.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
inet_ntop.h
inet_pton.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
inet_pton.h windows: delete redundant headers 2023-12-18 14:56:57 +00:00
krb5.c lib: Curl_read/Curl_write clarifications 2024-02-27 14:13:56 +01:00
ldap.c lib: silence warnings on comma misuse 2024-04-17 14:26:35 +02:00
libcurl.rc
libcurl.vers.in
llist.c llist: add Curl_llist_append() 2024-04-11 09:00:51 +02:00
llist.h llist: add Curl_llist_append() 2024-04-11 09:00:51 +02:00
macos.c
macos.h
Makefile.am build: remove MacOSX-Framework script 2024-04-08 22:46:51 +02:00
Makefile.inc mbedTLS: implement CURLOPT_SSL_CIPHER_LIST option 2024-04-24 14:30:37 +02:00
Makefile.mk build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
Makefile.soname
md4.c mbedtls: fix building with v3 in CMake Unity mode 2024-04-16 09:36:43 +02:00
md5.c
memdebug.c build: delete/replace clang warning pragmas 2024-01-27 21:19:41 +00:00
memdebug.h build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
mime.c http: expect 100 rework 2024-03-18 12:41:56 +01:00
mime.h mime: add client reader 2024-03-06 00:17:37 +01:00
mprintf.c mprintf: check fputc error rather than matching returned character 2024-04-15 08:38:14 +02:00
mqtt.c mqtt: when Curl_xfer_recv returns error, don't use nread 2024-04-19 13:30:09 +02:00
mqtt.h mqtt, remove remaining use of data->state.buffer 2024-01-27 12:42:19 +01:00
multi.c multi: remove the unused Curl_preconnect function 2024-04-19 15:06:48 +02:00
multihandle.h multi: introduce SETUP state for better timeouts 2024-04-15 23:42:06 +02:00
multiif.h lib: use multi instead of multi_easy for the active multi 2024-04-05 16:47:36 -04:00
netrc.c lib: convert Curl_get_line to use dynbuf 2024-02-07 09:22:10 +01:00
netrc.h
nonblock.c
nonblock.h
noproxy.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
noproxy.h
openldap.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
optiontable.pl curldown: Fix email address in Copyright 2024-02-28 11:28:10 +01:00
parsedate.c
parsedate.h
pingpong.c smpt: fix starttls 2024-03-05 13:30:16 +01:00
pingpong.h lib: send rework 2024-02-27 08:58:10 +01:00
pop3.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
pop3.h lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
progress.c getinfo: CURLINFO_QUEUE_TIME_T 2023-12-27 09:28:48 +01:00
progress.h getinfo: CURLINFO_QUEUE_TIME_T 2023-12-27 09:28:48 +01:00
psl.c
psl.h
rand.c lib: add debug log outputs for CURLE_BAD_FUNCTION_ARGUMENT 2024-01-08 22:48:24 +01:00
rand.h
rename.c
rename.h
request.c request: make Curl_req_init return void 2024-04-19 23:42:33 +02:00
request.h request: make Curl_req_init return void 2024-04-19 23:42:33 +02:00
rtsp.c misc: fix typos 2024-04-11 15:44:22 +02:00
rtsp.h lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
select.c
select.h
sendf.c sendf: useless assignment in cr_lc_read() 2024-04-22 12:58:30 +02:00
sendf.h sendf: fix two typos in comments 2024-04-17 14:28:24 +02:00
setopt.c TLS: add support for ECH (Encrypted Client Hello) 2024-04-16 08:10:53 +02:00
setopt.h
setup-os400.h
setup-vms.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
setup-win32.h windows: simplify detecting and using system headers 2023-12-16 13:13:44 +00:00
sha256.c
share.c build: fix some -Wsign-conversion/-Warith-conversion warnings 2023-12-19 12:45:28 +00:00
share.h
sigpipe.h
slist.c
slist.h
smb.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
smb.h lib: further send/upload handling polish 2024-03-04 08:42:56 +01:00
smtp.c smtp: result of Curl_bufq_cread was not used 2024-04-17 22:44:39 +02:00
smtp.h lib: further send/upload handling polish 2024-03-04 08:42:56 +01:00
sockaddr.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
socketpair.c windows: delete redundant headers 2023-12-18 14:56:57 +00:00
socketpair.h
socks_gssapi.c misc: Fix typos in docs and lib 2024-03-01 09:59:48 +01:00
socks_sspi.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
socks.c build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
socks.h
speedcheck.c
speedcheck.h
splay.c
splay.h
strcase.c
strcase.h
strdup.c lib: rename Curl_strndup to Curl_memdup0 to avoid misunderstanding 2023-12-08 17:22:33 +01:00
strdup.h lib: rename Curl_strndup to Curl_memdup0 to avoid misunderstanding 2023-12-08 17:22:33 +01:00
strerror.c TLS: add support for ECH (Encrypted Client Hello) 2024-04-16 08:10:53 +02:00
strerror.h
strtok.c
strtok.h
strtoofft.c lib: initialize output pointers to NULL before calling strto[ff,l,ul] 2024-02-26 17:19:27 +01:00
strtoofft.h
system_win32.c system_win32: fix a function pointer assignment warning 2023-12-28 03:38:44 -05:00
system_win32.h system_win32: fix a function pointer assignment warning 2023-12-28 03:38:44 -05:00
telnet.c telnet: check return code from fileno() 2024-04-24 10:51:53 +02:00
telnet.h
tftp.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
tftp.h
timediff.c
timediff.h
timeval.c
timeval.h
transfer.c transfer: remove useless assignment 2024-04-21 10:50:37 +02:00
transfer.h lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
url.c request: make Curl_req_init return void 2024-04-19 23:42:33 +02:00
url.h lib: keep conn IP information together 2024-03-09 23:24:58 +01:00
urlapi-int.h urlapi: remove unused flags argument from Curl_url_set_authority 2024-04-18 22:24:33 +02:00
urlapi.c urlapi: allow setting port number zero 2024-04-19 23:54:21 +02:00
urldata.h TLS: add support for ECH (Encrypted Client Hello) 2024-04-16 08:10:53 +02:00
version_win32.c
version_win32.h
version.c idn: add native AppleIDN (icucore) support for macOS/iOS 2024-04-17 00:24:09 +02:00
warnless.c
warnless.h
ws.c multi: remove the unused Curl_preconnect function 2024-04-19 15:06:48 +02:00
ws.h lib: client reader polish 2024-03-08 13:11:17 +01:00