curl/lib
Viktor Szakats 006977859d
openssl: fix building with v3 no-deprecated + add CI test
- build quictls with `no-deprecated` in CI to have test coverage for
  this OpenSSL 3 configuration.

- don't call `OpenSSL_add_all_algorithms()`, `OpenSSL_add_all_digests()`.
  The caller code is meant for OpenSSL 3, while these two functions were
  only necessary before OpenSSL 1.1.0. They are missing from OpenSSL 3
  if built with option `no-deprecated`, causing build errors:
  ```
  vtls/openssl.c:4097:3: error: call to undeclared function 'OpenSSL_add_all_algorithms'; ISO C99 and later do not   support implicit function declarations [-Wimplicit-function-declaration]
  vtls/openssl.c:4098:3: error: call to undeclared function 'OpenSSL_add_all_digests'; ISO C99 and later do not   support implicit function declarations [-Wimplicit-function-declaration]
  ```
  Ref: https://ci.appveyor.com/project/curlorg/curl-for-win/builds/48587418?fullLog=true#L7667

  Regression from b6e6d4ff8f #12030
  Bug: https://github.com/curl/curl/issues/12380#issuecomment-1822944669
  Reviewed-by: Alex Bozarth

- vquic/curl_ngtcp2: fix using `SSL_get_peer_certificate` with
  `no-deprecated` quictls 3 builds.
  Do it by moving an existing solution for this from `vtls/openssl.c`
  to `vtls/openssl.h` and adjusting caller code.
  ```
  vquic/curl_ngtcp2.c:1950:19: error: implicit declaration of function 'SSL_get_peer_certificate'; did you mean   'SSL_get1_peer_certificate'? [-Wimplicit-function-declaration]
  ```
  Ref: https://github.com/curl/curl/actions/runs/6960723097/job/18940818625#step:24:1178

- curl_ntlm_core: fix `-Wunused-parameter`, `-Wunused-variable` and
  `-Wunused-function` when trying to build curl with NTLM enabled but
  without the necessary TLS backend (with DES) support.

Closes #12384
2023-11-23 02:03:02 +00:00
..
vauth build: add more picky warnings and fix them 2023-11-21 16:35:42 +00:00
vquic openssl: fix building with v3 no-deprecated + add CI test 2023-11-23 02:03:02 +00:00
vssh wolfssh: remove redundant static prototypes 2023-11-22 09:39:08 +01:00
vtls openssl: fix building with v3 no-deprecated + add CI test 2023-11-23 02:03:02 +00:00
.checksrc
.gitattributes
.gitignore
altsvc.c misc: fix -Walloc-size warnings 2023-11-11 23:35:47 +01:00
altsvc.h
amigaos.c
amigaos.h
arpa_telnet.h lib: apache style infof and trace macros/functions 2023-10-26 17:42:54 +02:00
asyn-ares.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
asyn-thread.c urldata: move async resolver state from easy handle to connectdata 2023-10-26 17:29:17 +02:00
asyn.h
base64.c base64: also build for curl 2023-10-04 23:22:16 +02:00
bufq.c
bufq.h
bufref.c
bufref.h
c-hyper.c hyper: temporarily remove HTTP/2 support 2023-11-20 11:01:48 +01:00
c-hyper.h
cf-h1-proxy.c transfer: readwrite improvements 2023-11-21 08:03:45 +01:00
cf-h1-proxy.h
cf-h2-proxy.c misc: fix -Walloc-size warnings 2023-11-11 23:35:47 +01:00
cf-h2-proxy.h
cf-haproxy.c misc: fix -Walloc-size warnings 2023-11-11 23:35:47 +01:00
cf-haproxy.h
cf-https-connect.c misc: fix -Walloc-size warnings 2023-11-11 23:35:47 +01:00
cf-https-connect.h
cf-socket.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
cf-socket.h
cfilters.c misc: fix -Walloc-size warnings 2023-11-11 23:35:47 +01:00
cfilters.h cfilter: provide call to tell connection to forget a socket 2023-10-27 16:59:13 +02:00
CMakeLists.txt cmake: option to disable install & drop curlu target when unused 2023-11-10 18:24:14 +00:00
config-amigaos.h build: delete HAVE_STDINT_H and HAVE_INTTYPES_H 2023-11-06 17:20:39 +00:00
config-dos.h build: variadic macro tidy-ups 2023-10-27 00:37:34 +00:00
config-mac.h
config-os400.h build: delete HAVE_STDINT_H and HAVE_INTTYPES_H 2023-11-06 17:20:39 +00:00
config-plan9.h build: delete HAVE_STDINT_H and HAVE_INTTYPES_H 2023-11-06 17:20:39 +00:00
config-riscos.h build: delete HAVE_STDINT_H and HAVE_INTTYPES_H 2023-11-06 17:20:39 +00:00
config-win32.h config-win32: set HAVE_SNPRINTF for mingw-w64 2023-11-15 14:22:22 +00:00
config-win32ce.h build: delete support bits for obsolete Windows compilers 2023-11-06 22:00:10 +00:00
conncache.c urldata: make maxconnects a 32 bit value 2023-11-22 13:27:38 +01:00
conncache.h
connect.c misc: fix -Walloc-size warnings 2023-11-11 23:35:47 +01:00
connect.h
content_encoding.c content_encoding: make Curl_all_content_encodings allocless 2023-11-07 16:35:30 +01:00
content_encoding.h content_encoding: make Curl_all_content_encodings allocless 2023-11-07 16:35:30 +01:00
cookie.c urldata: move cookielist from UserDefined to UrlState 2023-11-15 09:42:30 +01:00
cookie.h
curl_addrinfo.c
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake cmake: add test for DISABLE options, add CURL_DISABLE_HEADERS_API 2023-11-20 22:28:17 +00:00
curl_ctype.h
curl_des.c
curl_des.h
curl_endian.c
curl_endian.h
curl_fnmatch.c
curl_fnmatch.h
curl_get_line.c
curl_get_line.h
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c
curl_gssapi.h
curl_hmac.h build: fix libssh2 + CURL_DISABLE_DIGEST_AUTH + CURL_DISABLE_AWS 2023-11-15 20:57:49 +00:00
curl_krb5.h
curl_ldap.h
curl_md4.h
curl_md5.h
curl_memory.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
curl_memrchr.c
curl_memrchr.h
curl_multibyte.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
curl_multibyte.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
curl_ntlm_core.c openssl: fix building with v3 no-deprecated + add CI test 2023-11-23 02:03:02 +00:00
curl_ntlm_core.h
curl_ntlm_wb.c curl_ntlm_wb: fix elif typo 2023-10-21 10:29:02 +02:00
curl_ntlm_wb.h
curl_path.c
curl_path.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
curl_printf.h
curl_range.c
curl_range.h
curl_rtmp.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
curl_rtmp.h
curl_sasl.c sasl: fix -Wunused-function compiler warning 2023-11-15 13:00:38 +00:00
curl_sasl.h
curl_setup_once.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
curl_setup.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
curl_sha256.h
curl_sspi.c
curl_sspi.h curl_sspi: support more revocation error names in error messages 2023-11-03 03:50:59 -04:00
curl_threads.c
curl_threads.h
curl_trc.c build: variadic macro tidy-ups 2023-10-27 00:37:34 +00:00
curl_trc.h build: variadic macro tidy-ups 2023-10-27 00:37:34 +00:00
curlx.h
dict.c
dict.h
doh.c doh: provide better return code for responses w/o addresses 2023-11-21 07:57:23 +01:00
doh.h
dynbuf.c dynbuf: assert for NULL pointer inputs 2023-11-01 10:53:49 +01:00
dynbuf.h MQTT: improve receive of ACKs 2023-10-09 18:34:17 +02:00
dynhds.c http2: header conversion tightening 2023-10-21 14:36:51 +02:00
dynhds.h http2: header conversion tightening 2023-10-21 14:36:51 +02:00
easy_lock.h easy_lock: add a pthread_mutex_t fallback 2023-10-12 23:40:08 -04:00
easy.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
easygetopt.c
easyif.h
easyoptions.c
easyoptions.h
escape.c lib: provide and use Curl_hexencode 2023-09-30 11:45:39 +02:00
escape.h lib: provide and use Curl_hexencode 2023-09-30 11:45:39 +02:00
file.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
file.h
fileinfo.c
fileinfo.h
fopen.c
fopen.h
formdata.c lib: add and use Curl_strndup() 2023-11-02 20:35:20 +01:00
formdata.h
ftp.c misc: fix -Walloc-size warnings 2023-11-11 23:35:47 +01:00
ftp.h
ftplistparser.c build: add more picky warnings and fix them 2023-11-21 16:35:42 +00:00
ftplistparser.h
functypes.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
getenv.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
getinfo.c
getinfo.h
gopher.c
gopher.h
hash.c
hash.h
headers.c
headers.h
hmac.c
hostasyn.c urldata: move async resolver state from easy handle to connectdata 2023-10-26 17:29:17 +02:00
hostip4.c
hostip6.c hostip6: fix DEBUG_ADDRINFO builds 2023-10-28 00:27:20 -04:00
hostip.c build: add more picky warnings and fix them 2023-11-21 16:35:42 +00:00
hostip.h hostip: show the list of IPs when resolving is done 2023-10-20 23:00:10 +02:00
hostsyn.c
hsts.c urldata: move hstslist from 'set' to 'state' 2023-11-13 15:36:24 +01:00
hsts.h
http1.c
http1.h
http2.c HTTP/2, HTTP/3: handle detach of onoing transfers 2023-11-21 07:55:16 +01:00
http2.h
http_aws_sigv4.c http_aws_sigv4: canonicalise valueless query params 2023-11-05 10:35:45 +01:00
http_aws_sigv4.h
http_chunks.c build: add more picky warnings and fix them 2023-11-21 16:35:42 +00:00
http_chunks.h transfer: readwrite improvements 2023-11-21 08:03:45 +01:00
http_digest.c
http_digest.h
http_negotiate.c
http_negotiate.h
http_ntlm.c
http_ntlm.h
http_proxy.c lib: introduce struct easy_poll_set for poll information 2023-10-25 09:34:32 +02:00
http_proxy.h
http.c transfer: readwrite improvements 2023-11-21 08:03:45 +01:00
http.h transfer: readwrite improvements 2023-11-21 08:03:45 +01:00
idn.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
idn.h
if2ip.c
if2ip.h
imap.c misc: fix -Walloc-size warnings 2023-11-11 23:35:47 +01:00
imap.h
inet_ntop.c
inet_ntop.h
inet_pton.c
inet_pton.h
krb5.c
ldap.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
libcurl.plist.in
libcurl.rc
libcurl.vers.in
llist.c
llist.h
macos.c
macos.h
Makefile.am autotools: avoid passing LDFLAGS twice to libcurl 2023-11-14 19:28:15 +00:00
Makefile.inc build: alpha-sort source files for lib and src 2023-10-03 12:58:17 +00:00
Makefile.mk Makefile.mk: fix -rtmp option for non-Windows [ci skip] 2023-10-28 10:06:43 +00:00
Makefile.soname
md4.c tidy-up: use OPENSSL_VERSION_NUMBER 2023-11-08 17:55:22 +00:00
md5.c
memdebug.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
memdebug.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
mime.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
mime.h
mprintf.c build: add more picky warnings and fix them 2023-11-21 16:35:42 +00:00
mqtt.c build: add more picky warnings and fix them 2023-11-21 16:35:42 +00:00
mqtt.h MQTT: improve receive of ACKs 2023-10-09 18:34:17 +02:00
multi.c CURLMOPT_MAX_CONCURRENT_STREAMS: make sure the set value is within range 2023-11-22 15:01:04 +01:00
multihandle.h urldata: make maxconnects a 32 bit value 2023-11-22 13:27:38 +01:00
multiif.h
netrc.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
netrc.h
nonblock.c
nonblock.h
noproxy.c
noproxy.h
openldap.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
optiontable.pl
parsedate.c
parsedate.h
pingpong.c
pingpong.h
pop3.c misc: fix -Walloc-size warnings 2023-11-11 23:35:47 +01:00
pop3.h
progress.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
progress.h
psl.c
psl.h
rand.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
rand.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
rename.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
rename.h
rtsp.c transfer: readwrite improvements 2023-11-21 08:03:45 +01:00
rtsp.h RTSP: improved RTP parser 2023-10-21 14:38:21 +02:00
select.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
select.h
sendf.c lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
sendf.h lib: client writer, part 2, accounting + logging 2023-11-06 13:14:06 +01:00
setopt.c urldata: make maxconnects a 32 bit value 2023-11-22 13:27:38 +01:00
setopt.h
setup-os400.h
setup-vms.h
setup-win32.h tidy-up: casing typos, delete unused Windows version aliases 2023-11-18 11:16:32 +00:00
sha256.c
share.c
share.h build: delete support bits for obsolete Windows compilers 2023-11-06 22:00:10 +00:00
sigpipe.h
slist.c
slist.h
smb.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
smb.h
smtp.c misc: fix -Walloc-size warnings 2023-11-11 23:35:47 +01:00
smtp.h
sockaddr.h
socketpair.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
socketpair.h asyn-thread: use pipe instead of socketpair for IPC when available 2023-10-18 08:23:53 +02:00
socks_gssapi.c
socks_sspi.c
socks.c misc: fix -Walloc-size warnings 2023-11-11 23:35:47 +01:00
socks.h
speedcheck.c
speedcheck.h
splay.c
splay.h
strcase.c
strcase.h
strdup.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
strdup.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
strerror.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
strerror.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
strtok.c
strtok.h
strtoofft.c
strtoofft.h
system_win32.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
system_win32.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
telnet.c
telnet.h
tftp.c setopt: check CURLOPT_TFTP_BLKSIZE range on set 2023-11-22 07:44:05 +01:00
tftp.h setopt: check CURLOPT_TFTP_BLKSIZE range on set 2023-11-22 07:44:05 +01:00
timediff.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
timediff.h
timeval.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
timeval.h
transfer.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
transfer.h
url.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
url.h url: protocol handler lookup tidy-up 2023-10-27 16:55:54 +02:00
urlapi-int.h
urlapi.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
urldata.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
version_win32.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
version_win32.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
version.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
warnless.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
warnless.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
ws.c build: variadic macro tidy-ups 2023-10-27 00:37:34 +00:00
ws.h