curl/lib
Joel Depooter fe9898d26e
schannel: handle pkcs12 client certificates which contain CA certificates
The SChannel code uses the CertFindCertificateInStore function to
retrieve the client certificate from a pkcs12 certificate store.
However, when called with the CERT_FIND_ANY flag, this function does not
provide any guarantees on the order in which certificates are retrieved.
If a pkcs12 file contains an entire certificate chain instead of a
single client certificate, the CertFindCertificateInStore function may
return the CA or an intermediate certificate instead of the desired
client certificate. Since there is no associated private key for such a
certificate, the TLS handshake fails.

With this change, we now pass the CERT_FIND_HAS_PRIVATE_KEY flag. This
ensures that the CertFindCertificateInStore function will return a
certificate which has a corresponding private key. This will stop the CA
and intermediate certificates from being selected. I don't think there
would be much use in a client certificate which has no associated
private key, so this should ensure the client certificate is selected. I
suppose it may be possible for a pkcs12 file to contain multiple
certificates with private keys and the new behaviour may not guarantee
which is selected. However, this is no worse that the previous behaviour
in which any certificate may been selected.

The CERT_FIND_HAS_PRIVATE_KEY is only available in Windows 8 / Server
2012 (aka Windows NT6.2). For older versions, we will fall back to using
the CERT_FIND_ANY flag.

Closes #16825
2025-04-15 23:27:40 +02:00
..
vauth lib: include files using known path 2025-04-08 17:00:00 +02:00
vquic openssl-quic: fix shutdown when stream not open 2025-04-10 08:38:58 +02:00
vssh lib: include files using known path 2025-04-08 17:00:00 +02:00
vtls schannel: handle pkcs12 client certificates which contain CA certificates 2025-04-15 23:27:40 +02:00
.checksrc lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
.gitignore gitignore: add lib/Makefile.soname.cmake 2025-01-28 16:04:29 +01:00
altsvc.c tests: build non-debug unit tests with autotools, run them 2025-03-24 10:15:05 +01:00
altsvc.h doh: send HTTPS RR requests for all HTTP(S) transfers 2025-01-15 12:55:15 +01:00
amigaos.c core: stop redefining E* macros on Windows, map EACCES, related fixes 2025-03-13 00:03:25 +01:00
amigaos.h tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
arpa_telnet.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
asyn-ares.c async-threaded resolver: use ref counter 2025-04-03 16:43:37 +02:00
asyn-thread.c asyn-thread: fix build without socketpair 2025-04-03 17:19:59 +02:00
asyn.h async-threaded resolver: use ref counter 2025-04-03 16:43:37 +02:00
base64.c base64: drop BUILDING_CURL macro, always include in tests/server 2025-03-13 00:03:15 +01:00
bufq.c websocket: fix message send corruption 2025-01-16 16:19:07 -05:00
bufq.h websocket: fix message send corruption 2025-01-16 16:19:07 -05:00
bufref.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
bufref.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
cf-h1-proxy.c lib: rename curlx_strtoofft to Curl_str_numblanks() 2025-03-10 10:39:20 +01:00
cf-h1-proxy.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
cf-h2-proxy.c cfilter: remove 'blocking' connect handling 2025-02-20 11:13:51 +01:00
cf-h2-proxy.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
cf-haproxy.c cfilter: remove 'blocking' connect handling 2025-02-20 11:13:51 +01:00
cf-haproxy.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
cf-https-connect.c https-connect, fix httpsrr target check 2025-04-04 21:31:02 +02:00
cf-https-connect.h hyper: drop support 2024-12-21 11:33:05 +01:00
cf-socket.c socket: use accept4 when available 2025-04-06 13:08:33 +02:00
cf-socket.h cf-socket: error if address can't be copied 2024-12-22 03:12:35 -05:00
cfilters.c tidy-up: replace Curl_safefree with free before re-assignment 2025-03-10 20:58:05 +01:00
cfilters.h build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
CMakeLists.txt cmake: revert CURL_LTO behavior for multi-config generators 2025-04-14 02:08:24 +02:00
config-mac.h config-mac: drop MACOS_SSL_SUPPORT macro 2024-12-20 11:38:59 +01:00
config-os400.h lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
config-plan9.h lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
config-riscos.h lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
config-win32.h config-win32: set HAVE_STDINT_H where available 2025-03-18 12:23:44 +01:00
conncache.c cpool/cshutdown: force close connections under pressure 2025-04-11 22:46:56 +02:00
conncache.h conncache: make Curl_cpool_init return void 2025-04-03 13:37:17 +02:00
connect.c core: stop redefining E* macros on Windows, map EACCES, related fixes 2025-03-13 00:03:25 +01:00
connect.h shutdowns: split shutdown handling from connection pool 2025-03-02 11:13:34 +01:00
content_encoding.c CURLOPT_HTTP_TRANSFER_DECODING: fixed 2025-04-06 11:31:22 +02:00
content_encoding.h content_encoding: make Curl_all_content_encodings allocless 2023-11-07 16:35:30 +01:00
cookie.c cookie: accept "high byte" cookie content 2025-03-13 08:46:58 +01:00
cookie.h cookie: small variable type cleanups 2025-01-07 16:47:18 +01:00
cshutdn.c cpool/cshutdown: force close connections under pressure 2025-04-11 22:46:56 +02:00
cshutdn.h cpool/cshutdown: force close connections under pressure 2025-04-11 22:46:56 +02:00
curl_addrinfo.c build: replace Curl_ prefix with curlx_ for functions used in servers 2025-03-13 00:03:15 +01:00
curl_addrinfo.h curl_addrinfo: support operating systems with only getaddrinfo(3) 2024-11-02 22:28:59 +01:00
curl_base64.h tool: add "variable" support 2023-07-31 11:51:34 +02:00
curl_config.h.cmake socketpair: support pipe2 where available 2025-04-07 12:35:17 +02:00
curl_ctype.h strparse: switch to curl_off_t as base data type 2025-02-15 21:58:48 +01:00
curl_des.c lib: fix building with wolfSSL without DES support 2024-08-13 09:28:27 +02:00
curl_des.h lib: fix building with wolfSSL without DES support 2024-08-13 09:28:27 +02:00
curl_endian.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
curl_endian.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_fnmatch.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_fnmatch.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
curl_get_line.c curl_get_line: handle lines ending on the buffer boundary 2025-04-15 17:48:32 +02:00
curl_get_line.h vtls: feature ssls-export for SSL session im-/export 2025-01-08 23:32:07 +01:00
curl_gethostname.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
curl_gethostname.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_gssapi.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_gssapi.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_hmac.h sha256/hmac: use these with TLS builds now 2025-01-14 12:13:59 +01:00
curl_krb5.h curl_krb5: only use functions if FTP is still enabled 2025-04-03 10:52:47 +02:00
curl_ldap.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_md4.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_md5.h lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
curl_memory.h addrinfo: add curl macro to avoid redefining foreign symbols 2025-02-13 12:46:39 +01:00
curl_memrchr.c curl_memrchr: enable in all builds 2025-03-10 23:10:31 +01:00
curl_memrchr.h urlapi: fix redirect from file:// with query, and simplify 2025-02-27 11:51:19 +01:00
curl_multibyte.c curl_multibyte: fixup low-level calls, include in unity builds 2025-04-07 22:33:24 +02:00
curl_multibyte.h build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_ntlm_core.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_ntlm_core.h cmake: fix building unit1600 due to missing ssl/openssl.h 2024-07-13 12:00:14 +02:00
curl_printf.h printf: fix mingw-w64 format checks 2024-09-02 21:03:01 +02:00
curl_range.c strparse: switch to curl_off_t as base data type 2025-02-15 21:58:48 +01:00
curl_range.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_rtmp.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_rtmp.h curl_version_info: provide librtmp version 2024-04-15 16:48:34 +02:00
curl_sasl.c lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
curl_sasl.h misc: reduce struct and struct field sizes 2023-01-04 15:36:36 +01:00
curl_setup.h eventfd: fix feature guards 2025-04-03 01:12:19 +02:00
curl_setup_once.h core: stop redefining E* macros on Windows, map EACCES, related fixes 2025-03-13 00:03:25 +01:00
curl_sha256.h sha256/hmac: use these with TLS builds now 2025-01-14 12:13:59 +01:00
curl_sha512_256.c tidy-up: delete, comment or scope C macros reported unused 2025-02-14 10:37:14 +01:00
curl_sha512_256.h curl_sha512_256: fix symbol collisions with nettle library 2024-08-13 10:04:06 +02:00
curl_sspi.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_sspi.h build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
curl_threads.c async-threaded resolver: use ref counter 2025-04-03 16:43:37 +02:00
curl_threads.h async-threaded resolver: use ref counter 2025-04-03 16:43:37 +02:00
curl_trc.c curl_trc: provide Curl_trc_dns dummy 2025-03-29 22:34:26 +01:00
curl_trc.h build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curlx.h src: s/Curl_safefree/curlx_safefree 2025-03-11 07:25:01 +01:00
cw-out.c lib: add const to clientwriter tables 2025-04-03 12:45:54 -07:00
cw-out.h lib: add const to clientwriter tables 2025-04-03 12:45:54 -07:00
cw-pause.c lib: add const to clientwriter tables 2025-04-03 12:45:54 -07:00
cw-pause.h lib: add const to clientwriter tables 2025-04-03 12:45:54 -07:00
dict.c dict: move internal defines to dict.c 2025-04-15 17:30:02 +02:00
dict.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
dllmain.c dllmain: Call OpenSSL thread cleanup for Windows and Cygwin 2024-04-24 04:04:25 -04:00
doh.c test1658: add unit test for the HTTPS RR decoder 2025-04-05 21:03:47 +02:00
doh.h https-rr: implementation improvements 2025-02-18 16:12:26 +01:00
dynbuf.c dynbuf: assert init on free 2025-03-24 09:53:40 +01:00
dynbuf.h rustls: make max size of cert and key reasonable 2025-04-03 23:30:36 +02:00
dynhds.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
dynhds.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
easy.c easy: add 'populate_fds' func to reduce size of 'wait_or_timeout' 2025-03-24 23:46:52 +01:00
easy_lock.h easy_lock: use Sleep(1) for thread yield on old Windows 2025-01-21 01:45:21 -05:00
easygetopt.c lib: make Curl_easyopts const 2025-04-03 13:43:26 -07:00
easyif.h WebSockets: make support official (non-experimental) 2024-09-27 13:20:25 +02:00
easyoptions.c lib: make Curl_easyopts const 2025-04-03 13:43:26 -07:00
easyoptions.h lib: make Curl_easyopts const 2025-04-03 13:43:26 -07:00
escape.c lib: unify conversions to/from hex 2025-04-02 14:17:56 +02:00
escape.h lib: unify conversions to/from hex 2025-04-02 14:17:56 +02:00
file.c tidy-up: replace Curl_safefree with free before re-assignment 2025-03-10 20:58:05 +01:00
file.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
fileinfo.c ftplistparser: replace realloc with dynbuf 2023-03-28 10:11:33 +02:00
fileinfo.h llist: remove direct struct accesses, use only functions 2024-08-12 13:18:10 +02:00
fopen.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
fopen.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
formdata.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
formdata.h curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
ftp.c dynbuf: assert init on free 2025-03-24 09:53:40 +01:00
ftp.h ftp: fix comment 2025-03-03 18:21:33 -05:00
ftplistparser.c lib: rename curlx_strtoofft to Curl_str_numblanks() 2025-03-10 10:39:20 +01:00
ftplistparser.h wildcard: remove files and move functions into ftplistparser.c 2023-03-03 23:25:30 +01:00
functypes.h Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
getenv.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
getinfo.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
getinfo.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
gopher.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
gopher.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hash.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
hash.h hash_offt: standalone hash for curl_off_t 2025-03-01 18:42:10 +01:00
hash_offt.c hash_offt: standalone hash for curl_off_t 2025-03-01 18:42:10 +01:00
hash_offt.h hash_offt: standalone hash for curl_off_t 2025-03-01 18:42:10 +01:00
headers.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
headers.h llist: remove direct struct accesses, use only functions 2024-08-12 13:18:10 +02:00
hmac.c sha256/hmac: use these with TLS builds now 2025-01-14 12:13:59 +01:00
hostasyn.c dnscache: slight refactoring 2025-04-03 16:40:56 +02:00
hostip.c hostip: show the correct name on proxy resolve error 2025-04-04 14:23:01 +02:00
hostip.h dnscache: slight refactoring 2025-04-03 16:40:56 +02:00
hostip4.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
hostip6.c build: replace Curl_ prefix with curlx_ for functions used in servers 2025-03-13 00:03:15 +01:00
hostsyn.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hsts.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
hsts.h strparse: string parsing helper functions 2024-12-12 16:00:52 +01:00
http.c http: fix a build error when all auths are disabled 2025-04-03 12:38:36 +02:00
http.h http: remove a HTTP method size restriction 2025-03-14 20:10:09 +01:00
http1.c all: remove FIXME and TODO comments 2025-02-10 14:44:06 +01:00
http1.h http: h1/h2 proxy unification 2023-09-25 20:12:18 +02:00
http2.c http2: fix stream window size after unpausing 2025-04-05 14:54:40 +02:00
http2.h lib: clarify 'conn->httpversion' 2025-01-24 10:59:02 +01:00
http_aws_sigv4.c http_aws_sigv4: add additional verbose log statements 2025-04-04 08:54:09 +02:00
http_aws_sigv4.h http_aws_sigv4: cannot be used for proxy 2025-03-05 11:50:06 +01:00
http_chunks.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
http_chunks.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
http_digest.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
http_digest.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
http_negotiate.c http_negotiate: fix non-SSL build with GSSAPI 2025-04-03 08:25:09 +02:00
http_negotiate.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
http_ntlm.c lib: replace while(ISBLANK()) loops with Curl_str_passblanks() 2025-03-03 10:56:09 +01:00
http_ntlm.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
http_proxy.c lib: replace while(ISBLANK()) loops with Curl_str_passblanks() 2025-03-03 10:56:09 +01:00
http_proxy.h http_proxy: move dynhds_add_custom here from http.c 2024-12-03 15:02:58 +01:00
httpsrr.c test1658: add unit test for the HTTPS RR decoder 2025-04-05 21:03:47 +02:00
httpsrr.h test1658: add unit test for the HTTPS RR decoder 2025-04-05 21:03:47 +02:00
idn.c core: stop redefining E* macros on Windows, map EACCES, related fixes 2025-03-13 00:03:25 +01:00
idn.h idn: add native AppleIDN (icucore) support for macOS/iOS 2024-04-17 00:24:09 +02:00
if2ip.c if2ip: build the function also if FTP is present 2025-04-03 11:25:25 +02:00
if2ip.h if2ip: make the buf_size arg a size_t 2024-04-30 14:22:11 +02:00
imap.c dynbuf: assert init on free 2025-03-24 09:53:40 +01:00
imap.h dynbuf: assert init on free 2025-03-24 09:53:40 +01:00
inet_ntop.c core: stop redefining E* macros on Windows, map EACCES, related fixes 2025-03-13 00:03:25 +01:00
inet_ntop.h build: replace Curl_ prefix with curlx_ for functions used in servers 2025-03-13 00:03:15 +01:00
inet_pton.c lib: unify conversions to/from hex 2025-04-02 14:17:56 +02:00
inet_pton.h build: replace Curl_ prefix with curlx_ for functions used in servers 2025-03-13 00:03:15 +01:00
krb5.c dynbuf: assert init on free 2025-03-24 09:53:40 +01:00
ldap.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
libcurl.def vtls: feature ssls-export for SSL session im-/export 2025-01-08 23:32:07 +01:00
libcurl.rc (lib)curl.rc: set debug flag also for CURLDEBUG and UNITTESTS 2024-05-22 08:38:12 +02:00
libcurl.vers.in build: tidy up and improve versioned-symbols options 2024-09-21 12:21:14 +02:00
llist.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
llist.h lib: TLS session ticket caching reworked 2024-12-20 14:59:23 +01:00
macos.c docs: use lowercase curl and libcurl 2025-01-02 17:15:54 +01:00
macos.h macOS: fix target detection more 2023-07-29 23:42:53 +02:00
Makefile.am lib: include files using known path 2025-04-08 17:00:00 +02:00
Makefile.inc autotools: fix dllmain.c in unity builds 2025-03-14 10:38:28 +01:00
Makefile.soname build: tidy up and improve versioned-symbols options 2024-09-21 12:21:14 +02:00
md4.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
md5.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
memdebug.c socket: use accept4 when available 2025-04-06 13:08:33 +02:00
memdebug.h socket: use accept4 when available 2025-04-06 13:08:33 +02:00
mime.c tidy-up: use CURL_ARRAYSIZE() 2025-02-19 00:59:45 +01:00
mime.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
mprintf.c cmake: fix clang-tidy builds to verify tests, fix fallouts 2025-03-24 10:14:58 +01:00
mqtt.c mqtt: cleanups 2025-03-25 09:18:08 +01:00
mqtt.h mqtt: convert sendleftovers to dynbuf 2025-03-25 08:22:05 +01:00
multi.c async-threaded resolver: use ref counter 2025-04-03 16:43:37 +02:00
multi_ev.c multi_ev: remove redundant check from mev_get_last_pollset 2025-04-01 14:28:18 +02:00
multi_ev.h hash_offt: standalone hash for curl_off_t 2025-03-01 18:42:10 +01:00
multihandle.h dnscache: slight refactoring 2025-04-03 16:40:56 +02:00
multiif.h multi: event based rework 2025-02-22 14:47:40 +01:00
netrc.c lib: replace while(ISBLANK()) loops with Curl_str_passblanks() 2025-03-03 10:56:09 +01:00
netrc.h netrc: return code cleanup, fix missing file error 2025-02-06 10:34:02 +01:00
nonblock.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
nonblock.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
noproxy.c build: replace Curl_ prefix with curlx_ for functions used in servers 2025-03-13 00:03:15 +01:00
noproxy.h noproxy: patterns need to be comma separated 2024-06-01 12:25:13 +02:00
openldap.c core: stop redefining E* macros on Windows, map EACCES, related fixes 2025-03-13 00:03:25 +01:00
optiontable.pl lib: make Curl_easyopts const 2025-04-03 13:43:26 -07:00
parsedate.c parsedate: provide Curl_wkday also for GnuTLS builds 2025-04-03 16:00:17 +02:00
parsedate.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
pingpong.c conn: eliminate conn->now 2025-03-24 09:57:38 +01:00
pingpong.h dynbuf: assert init on free 2025-03-24 09:53:40 +01:00
pop3.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
pop3.h pop3: use the protocol handler ->write_resp 2024-08-26 14:59:50 +02:00
progress.c tidy-up: drop parenthesis around return expression 2025-01-14 12:11:42 +01:00
progress.h TLS: TLSv1.3 earlydata support for curl 2024-10-11 12:28:22 +02:00
psl.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
psl.h curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
rand.c rand: update comment on Curl_rand_bytes weak random 2025-04-04 21:32:07 +02:00
rand.h vtls/rustls: support strong CSRNG data 2024-09-13 14:11:56 +02:00
rename.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
rename.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
request.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
request.h lib: clarify 'conn->httpversion' 2025-01-24 10:59:02 +01:00
rtsp.c dynbuf: assert init on free 2025-03-24 09:53:40 +01:00
rtsp.h dynbuf: assert init on free 2025-03-24 09:53:40 +01:00
select.c core: stop redefining E* macros on Windows, map EACCES, related fixes 2025-03-13 00:03:25 +01:00
select.h core: stop redefining E* macros on Windows, map EACCES, related fixes 2025-03-13 00:03:25 +01:00
sendf.c sendf: client reader line conversion: do not change data->state.infilesize 2025-03-12 14:33:28 +01:00
sendf.h client writer: handle pause before deocding 2025-02-20 15:53:18 +01:00
setopt.c CURLOPT_HTTP_TRANSFER_DECODING: fixed 2025-04-06 11:31:22 +02:00
setopt.h setopt: warn on Curl_set*opt() uses not using the return value 2024-05-12 17:27:51 +02:00
setup-os400.h os400: workaround an IBM ASCII run-time library bug 2024-07-27 00:17:13 +02:00
setup-vms.h openssl: drop support for old OpenSSL/LibreSSL versions 2025-02-21 12:02:35 +01:00
setup-win32.h windows: drop code and curl manifest targeting W2K and older 2025-02-24 21:00:31 +01:00
sha256.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
share.c dnscache: slight refactoring 2025-04-03 16:40:56 +02:00
share.h dnscache: slight refactoring 2025-04-03 16:40:56 +02:00
sigpipe.h transfer: Curl_sendrecv() and event related improvements 2024-08-17 10:52:53 +02:00
slist.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
slist.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
smb.c build: replace Curl_ prefix with curlx_ for functions used in servers 2025-03-13 00:03:15 +01:00
smb.h lib: further send/upload handling polish 2024-03-04 08:42:56 +01:00
smtp.c conn: fix connection reuse when SSL is optional 2025-02-20 16:23:35 +01: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 socketpair: support pipe2 where available 2025-04-07 12:35:17 +02:00
socketpair.h eventfd: fix feature guards 2025-04-03 01:12:19 +02:00
socks.c async-threaded resolver: use ref counter 2025-04-03 16:43:37 +02:00
socks.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
socks_gssapi.c lib: supress deprecation warnings in apple builds 2024-12-17 14:54:34 +01:00
socks_sspi.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
speedcheck.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
speedcheck.h tests: fix callback signatures to please UndefinedBehaviorSanitizer 2024-10-15 14:33:47 +02:00
splay.c source: avoid use of 'very' in comments 2024-10-17 13:36:33 +02:00
splay.h splay: use access functions, add asserts, use Curl_timediff 2024-08-16 09:12:13 +02:00
strcase.c strparse: switch to curl_off_t as base data type 2025-02-15 21:58:48 +01:00
strcase.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
strdup.c http: convert parsers to strparse 2025-02-24 10:02:40 +01:00
strdup.h lib: rename Curl_strndup to Curl_memdup0 to avoid misunderstanding 2023-12-08 17:22:33 +01:00
strequal.c strparse: switch to curl_off_t as base data type 2025-02-15 21:58:48 +01:00
strerror.c cmake: fix clang-tidy builds to verify tests, fix fallouts 2025-03-24 10:14:58 +01:00
strerror.h build: replace Curl_ prefix with curlx_ for functions used in servers 2025-03-13 00:03:15 +01:00
strparse.c lib: unify conversions to/from hex 2025-04-02 14:17:56 +02:00
strparse.h lib: unify conversions to/from hex 2025-04-02 14:17:56 +02:00
system_win32.c tidy-up: alphasort lists, indentation/whitespace, pp 2025-03-04 01:46:53 +01:00
system_win32.h tidy-up: alphasort lists, indentation/whitespace, pp 2025-03-04 01:46:53 +01:00
telnet.c core: stop redefining E* macros on Windows, map EACCES, related fixes 2025-03-13 00:03:25 +01:00
telnet.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tftp.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
tftp.h setopt: check CURLOPT_TFTP_BLKSIZE range on set 2023-11-22 07:44:05 +01:00
timediff.c timediff: remove unnecessary double typecast 2025-02-17 16:10:34 +01:00
timediff.h lib: use FMT_ as prefix instead of CURL_FORMAT_ 2024-09-03 08:45:45 +02:00
timeval.c curltime: use libcurl time functions in src and tests/server 2025-03-12 11:33:26 +01:00
timeval.h curltime: use libcurl time functions in src and tests/server 2025-03-12 11:33:26 +01:00
transfer.c tidy-up: replace Curl_safefree with free before re-assignment 2025-03-10 20:58:05 +01:00
transfer.h client writer: handle pause before deocding 2025-02-20 15:53:18 +01:00
url.c http: in alt-svc negotiation only allow supported HTTP versions 2025-04-15 23:09:10 +02:00
url.h conncache: eliminate cpool's diconnect callback 2025-03-24 22:41:53 +01:00
urlapi-int.h test1658: add unit test for the HTTPS RR decoder 2025-04-05 21:03:47 +02:00
urlapi.c test1658: add unit test for the HTTPS RR decoder 2025-04-05 21:03:47 +02:00
urldata.h dict: move internal defines to dict.c 2025-04-15 17:30:02 +02:00
version.c tidy-up: delete, comment or scope C macros reported unused 2025-02-14 10:37:14 +01:00
version_win32.c tidy-up: alphasort lists, indentation/whitespace, pp 2025-03-04 01:46:53 +01:00
version_win32.h tidy-up: alphasort lists, indentation/whitespace, pp 2025-03-04 01:46:53 +01:00
warnless.c tidy-up: alphasort lists, indentation/whitespace, pp 2025-03-04 01:46:53 +01:00
warnless.h tidy-up: alphasort lists, indentation/whitespace, pp 2025-03-04 01:46:53 +01:00
ws.c ws: fix and extend CURLWS_CONT handling 2025-03-14 11:46:36 +01:00
ws.h ws: fix and extend CURLWS_CONT handling 2025-03-14 11:46:36 +01:00