curl/lib
Viktor Szakats c78a185df7
build: drop unused/redundant HAVE_WINLDAP_H
Sources did not use it. Autotools used it when checking for the
`winldap` library, which is redundant.

With CMake, detection was broken:
```
Run Build Command(s):/usr/local/Cellar/cmake/3.26.3/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_2d8fe/fast && /Library/Developer/CommandLineTools/usr/bin/make  -f CMakeFiles/cmTC_2d8fe.dir/build.make CMakeFiles/cmTC_2d8fe.dir/build
Building C object CMakeFiles/cmTC_2d8fe.dir/HAVE_WINLDAP_H.c.obj
/usr/local/opt/llvm/bin/clang --target=x86_64-w64-mingw32 --sysroot=/usr/local/opt/mingw-w64/toolchain-x86_64 -D_WINSOCKAPI_="" -I/my/quictls/x64-ucrt/usr/include -I/my/zlib/x64-ucrt/usr/include -I/my/brotli/x64-ucrt/usr/include -Wno-unused-command-line-argument   -D_UCRT -DCURL_HIDDEN_SYMBOLS -DHAVE_SSL_SET0_WBIO -DHAS_ALPN -DNGHTTP2_STATICLIB -DNGHTTP3_STATICLIB -DNGTCP2_STATICLIB -DUSE_MANUAL=1  -fuse-ld=lld -Wl,-s -static-libgcc  -lucrt  -Wextra -Wall -pedantic -Wbad-function-cast -Wconversion -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-long-long -Wno-multichar -Wpointer-arith -Wshadow -Wsign-compare -Wundef -Wunused -Wwrite-strings -Wcast-align -Wdeclaration-after-statement -Wempty-body -Wendif-labels -Wfloat-equal -Wignored-qualifiers -Wno-format-nonliteral -Wno-sign-conversion -Wno-system-headers -Wstrict-prototypes -Wtype-limits -Wvla -Wshift-sign-overflow -Wshorten-64-to-32 -Wdouble-promotion -Wenum-conversion -Wunused-const-variable -Wcomma -Wmissing-variable-declarations -Wassign-enum -Wextra-semi-stmt  -MD -MT CMakeFiles/cmTC_2d8fe.dir/HAVE_WINLDAP_H.c.obj -MF CMakeFiles/cmTC_2d8fe.dir/HAVE_WINLDAP_H.c.obj.d -o CMakeFiles/cmTC_2d8fe.dir/HAVE_WINLDAP_H.c.obj -c /my/curl/bld-cmake-llvm-x64-shared/CMakeFiles/CMakeScratch/TryCompile-3JP6dR/HAVE_WINLDAP_H.c
In file included from /my/curl/bld-cmake-llvm-x64-shared/CMakeFiles/CMakeScratch/TryCompile-3JP6dR/HAVE_WINLDAP_H.c:2:
In file included from /usr/local/opt/mingw-w64/toolchain-x86_64/x86_64-w64-mingw32/include/winldap.h:17:
In file included from /usr/local/opt/mingw-w64/toolchain-x86_64/x86_64-w64-mingw32/include/schnlsp.h:9:
In file included from /usr/local/opt/mingw-w64/toolchain-x86_64/x86_64-w64-mingw32/include/schannel.h:10:
/usr/local/opt/mingw-w64/toolchain-x86_64/x86_64-w64-mingw32/include/wincrypt.h:5041:254: error: unknown type name 'PSYSTEMTIME'
  WINIMPM PCCERT_CONTEXT WINAPI CertCreateSelfSignCertificate (HCRYPTPROV_OR_NCRYPT_KEY_HANDLE hCryptProvOrNCryptKey, PCERT_NAME_BLOB pSubjectIssuerBlob, DWORD dwFlags, PCRYPT_KEY_PROV_INFO pKeyProvInfo, PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm, PSYSTEMTIME pStartTime, PSYSTEMTIME pEndTime, PCERT_EXTENSIONS pExtensions);
                                                                                                                                                                                                                                                             ^
/usr/local/opt/mingw-w64/toolchain-x86_64/x86_64-w64-mingw32/include/wincrypt.h:5041:278: error: unknown type name 'PSYSTEMTIME'
  WINIMPM PCCERT_CONTEXT WINAPI CertCreateSelfSignCertificate (HCRYPTPROV_OR_NCRYPT_KEY_HANDLE hCryptProvOrNCryptKey, PCERT_NAME_BLOB pSubjectIssuerBlob, DWORD dwFlags, PCRYPT_KEY_PROV_INFO pKeyProvInfo, PCRYPT_ALGORITHM_IDENTIFIER pSignatureAlgorithm, PSYSTEMTIME pStartTime, PSYSTEMTIME pEndTime, PCERT_EXTENSIONS pExtensions);
                                                                                                                                                                                                                                                                                     ^
2 errors generated.
make[1]: *** [CMakeFiles/cmTC_2d8fe.dir/HAVE_WINLDAP_H.c.obj] Error 1
make: *** [cmTC_2d8fe/fast] Error 2
exitCode: 2
```

Cherry-picked from #11095 88e4a21ff70ccef391cf99c8165281ff81374503
Reviewed-by: Daniel Stenberg
Closes #11245
2023-06-05 16:31:38 +00:00
..
vauth misc: fix spelling mistakes 2023-05-23 10:42:09 +02:00
vquic http3: send EOF indicator early as possible 2023-05-26 08:37:58 +02:00
vssh libssh2: provide error message when setting host key type fails 2023-06-02 23:00:27 +02:00
vtls lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
.checksrc
.gitattributes
.gitignore
altsvc.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
altsvc.h
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c
asyn-thread.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
asyn.h
base64.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
bufq.c lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
bufq.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
bufref.c
bufref.h
c-hyper.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
c-hyper.h
cf-h1-proxy.c checksrc: fix SPACEBEFOREPAREN for conditions starting with "*" 2023-04-27 17:24:47 +02:00
cf-h1-proxy.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
cf-h2-proxy.c misc: fix spelling mistakes 2023-05-23 10:42:09 +02:00
cf-h2-proxy.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
cf-haproxy.c lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
cf-haproxy.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
cf-https-connect.c lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
cf-https-connect.h lib: give source files cf-http.* better fitting names 2023-03-02 08:48:34 +01:00
cf-socket.c cf-socket: restore Curl_sock_assign_addr() 2023-05-25 14:34:39 +02:00
cf-socket.h cf-socket: restore Curl_sock_assign_addr() 2023-05-25 14:34:39 +02:00
cfilters.c lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
cfilters.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
CMakeLists.txt cmake: repair cross compiling 2023-05-18 21:13:12 +02:00
config-amigaos.h amiga: Fix CA certificate paths for AmiSSL and MorphOS 2023-05-01 14:08:55 -04:00
config-dos.h config-dos.h: fix SIZEOF_CURL_OFF_T for MS-DOS/DJGPP 2023-04-08 23:53:50 +02:00
config-mac.h
config-os400.h
config-plan9.h
config-riscos.h
config-win32.h build: fix stdint/inttypes detection with non-autotools 2023-03-13 10:47:21 +00:00
config-win32ce.h
conncache.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
conncache.h
connect.c lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
connect.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
content_encoding.c content_encoding: only do tranfer-encoding compression if asked to 2023-04-07 13:39:20 +02:00
content_encoding.h
cookie.c misc: fix spelling mistakes 2023-05-23 10:42:09 +02:00
cookie.h cookie: update the comment on cookie length and size limits 2023-05-18 20:43:25 +02:00
curl_addrinfo.c misc: fix spelling mistakes 2023-05-23 10:42:09 +02:00
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake build: drop unused/redundant HAVE_WINLDAP_H 2023-06-05 16:31:38 +00:00
curl_ctype.h urlapi: avoid Curl_dyn_addf() for hex outputs 2023-02-01 23:05:51 +01:00
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 gssapi: align global gss_OID_desc vars to silence ld warnings on macOS ventura 2023-03-10 08:04:42 +01:00
curl_gssapi.h
curl_hmac.h
curl_krb5.h
curl_ldap.h
curl_log.c curl_log: evaluate log statement only when transfer is verbose 2023-06-02 23:03:45 +02:00
curl_log.h curl_log: evaluate log statement only when transfer is verbose 2023-06-02 23:03:45 +02:00
curl_md4.h
curl_md5.h
curl_memory.h lib: remove CURLX_NO_MEMORY_CALLBACKS 2023-04-08 17:47:10 +02:00
curl_memrchr.c
curl_memrchr.h
curl_multibyte.c
curl_multibyte.h
curl_ntlm_core.c openssl: interop with AWS-LC 2023-03-30 10:56:14 +02:00
curl_ntlm_core.h tls: fixes for wolfssl + openssl combo builds 2023-02-01 09:47:16 +00:00
curl_ntlm_wb.c
curl_ntlm_wb.h
curl_path.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
curl_path.h
curl_printf.h
curl_range.c
curl_range.h
curl_rtmp.c lib: unify the upload/method handling 2023-04-25 12:38:38 +02:00
curl_rtmp.h
curl_sasl.c openldap: fix missing sasl symbols at build in specific configs 2023-02-09 08:17:20 +01:00
curl_sasl.h
curl_setup_once.h wolfssl: add quic/ngtcp2 detection in cmake, and fix builds 2023-03-14 11:57:55 +00:00
curl_setup.h cf-socket: completely remove the disabled USE_RECV_BEFORE_SEND_WORKAROUND 2023-05-18 20:55:16 +02:00
curl_sha256.h
curl_sspi.c
curl_sspi.h
curl_threads.c
curl_threads.h
curlx.h
dict.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
dict.h
doh.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
doh.h
dynbuf.c dynbuf: never allocate larger than "toobig" 2023-03-28 10:22:53 +02:00
dynbuf.h
dynhds.c lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
dynhds.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
easy_lock.h
easy.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
easygetopt.c
easyif.h Websocket en-/decoding 2023-04-25 23:16:51 +02:00
easyoptions.c CURLOPT_MAIL_RCPT_ALLOWFAILS: replace CURLOPT_MAIL_RCPT_ALLLOWFAILS 2023-06-03 23:29:04 +02:00
easyoptions.h
escape.c escape: use table lookup when adding %-codes to output 2023-01-31 22:42:21 +01:00
escape.h
file.c lib: unify the upload/method handling 2023-04-25 12:38:38 +02:00
file.h
fileinfo.c ftplistparser: replace realloc with dynbuf 2023-03-28 10:11:33 +02:00
fileinfo.h ftplistparser: replace realloc with dynbuf 2023-03-28 10:11:33 +02:00
fopen.c fopen: remove unnecessary assignment 2023-02-05 03:15:08 -05:00
fopen.h
formdata.c
formdata.h
ftp.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
ftp.h ftp: add more conditions for connection reuse 2023-03-13 09:07:23 +01:00
ftplistparser.c ftplistparser: replace realloc with dynbuf 2023-03-28 10:11:33 +02:00
ftplistparser.h wildcard: remove files and move functions into ftplistparser.c 2023-03-03 23:25:30 +01:00
functypes.h
getenv.c
getinfo.c
getinfo.h
gopher.c
gopher.h
hash.c hash: fix assigning same value 2023-04-14 09:26:26 +02:00
hash.h
headers.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
headers.h
hmac.c
hostasyn.c hostip: avoid sscanf and extra buffer copies 2023-02-27 20:43:13 +01:00
hostip4.c
hostip6.c
hostip.c lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
hostip.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
hostsyn.c
hsts.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
hsts.h
http1.c http2: support HTTP/2 to forward proxies, non-tunneling 2023-04-17 17:27:49 +02:00
http1.h lib: rename struct 'http_req' to 'httpreq' 2023-05-20 23:03:01 +02:00
http2.c http2: better support for --limit-rate 2023-06-02 23:06:12 +02:00
http2.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
http_aws_sigv4.c checksrc: fix SPACEBEFOREPAREN for conditions starting with "*" 2023-04-27 17:24:47 +02:00
http_aws_sigv4.h
http_chunks.c
http_chunks.h
http_digest.c
http_digest.h
http_negotiate.c
http_negotiate.h
http_ntlm.c
http_ntlm.h
http_proxy.c http_proxy: provide missing arg to infof() call 2023-04-07 23:48:38 +02:00
http_proxy.h CURLPROXY_HTTPS2: for HTTPS proxy that may speak HTTP/2 2023-04-08 00:27:53 +02:00
http.c lib: rename struct 'http_req' to 'httpreq' 2023-05-20 23:03:01 +02:00
http.h lib: rename struct 'http_req' to 'httpreq' 2023-05-20 23:03:01 +02:00
idn.c idn: return error if the conversion ends up with a blank host 2023-02-27 15:12:29 +01:00
idn.h
if2ip.c
if2ip.h
imap.c checksrc: find bad indentation in conditions without open brace 2023-04-28 23:11:00 +02:00
imap.h
inet_ntop.c checksrc: find bad indentation in conditions without open brace 2023-04-28 23:11:00 +02:00
inet_ntop.h
inet_pton.c urlapi: parse IPv6 literals without ENABLE_IPV6 2023-03-03 10:05:08 +01:00
inet_pton.h
krb5.c krb5: avoid sscanf for parsing 2023-02-24 17:24:01 +01:00
ldap.c checksrc: find bad indentation in conditions without open brace 2023-04-28 23:11:00 +02:00
libcurl.plist.in
libcurl.rc
libcurl.vers.in
llist.c
llist.h
Makefile.am
Makefile.inc http2: support HTTP/2 to forward proxies, non-tunneling 2023-04-17 17:27:49 +02:00
Makefile.mk Makefile.mk: fix -g option in debug mode [ci skip] 2023-03-13 00:16:30 +00:00
Makefile.soname
md4.c md(4|5): don't use deprecated iOS functions 2023-05-13 09:57:54 +02:00
md5.c md(4|5): don't use deprecated iOS functions 2023-05-13 09:57:54 +02:00
memdebug.c
memdebug.h
mime.c checksrc: find bad indentation in conditions without open brace 2023-04-28 23:11:00 +02:00
mime.h
mprintf.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
mqtt.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
mqtt.h
multi.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
multihandle.h multi: remove PENDING + MSGSENT handles from the main linked list 2023-03-26 17:43:28 +02:00
multiif.h
netrc.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
netrc.h
nonblock.c
nonblock.h
noproxy.c noproxy: pointer to local array 'hostip' is stored outside scope 2023-04-12 09:00:20 +02:00
noproxy.h
openldap.c checksrc: find bad indentation in conditions without open brace 2023-04-28 23:11:00 +02:00
optiontable.pl
parsedate.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
parsedate.h
pingpong.c pingpong: fix compiler warning "assigning an enum to unsigned char" 2023-04-28 13:38:21 +02:00
pingpong.h
pop3.c checksrc: find bad indentation in conditions without open brace 2023-04-28 23:11:00 +02:00
pop3.h
progress.c misc: remove support for curl_off_t < 8 bytes 2023-02-24 17:05:33 +01:00
progress.h connections: introduce http/3 happy eyeballs 2023-02-02 09:57:34 +01:00
psl.c
psl.h
rand.c socketpair: verify with a random value 2023-04-25 17:40:15 +02:00
rand.h
rename.c
rename.h
rtsp.c lib: unify the upload/method handling 2023-04-25 12:38:38 +02:00
rtsp.h rtsp: convert mallocs to dynbuf for RTP buffering 2023-04-04 14:44:25 +02:00
select.c select: avoid returning an error on EINTR from select() or poll() 2023-05-19 16:16:26 +02:00
select.h
sendf.c Websocket en-/decoding 2023-04-25 23:16:51 +02:00
sendf.h cf-socket: improvements in socket I/O handling 2023-01-31 11:23:59 +01:00
setopt.c CURLOPT_MAIL_RCPT_ALLOWFAILS: replace CURLOPT_MAIL_RCPT_ALLLOWFAILS 2023-06-03 23:29:04 +02:00
setopt.h
setup-os400.h os400: correct Curl_os400_sendto() 2023-02-17 14:49:51 +01:00
setup-vms.h
setup-win32.h
sha256.c lib/sha256.c: typo fix in comment (duplicated "is available") 2023-03-28 17:52:41 +02:00
share.c
share.h
sigpipe.h multi: make multi_perform ignore/unignore signals less often 2023-03-13 23:01:02 +01:00
slist.c
slist.h
smb.c lib: unify the upload/method handling 2023-04-25 12:38:38 +02:00
smb.h
smtp.c lib: unify the upload/method handling 2023-04-25 12:38:38 +02:00
smtp.h
sockaddr.h
socketpair.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
socketpair.h
socks_gssapi.c cf-socket: improvements in socket I/O handling 2023-01-31 11:23:59 +01:00
socks_sspi.c cf-socket: improvements in socket I/O handling 2023-01-31 11:23:59 +01:00
socks.c lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
socks.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
speedcheck.c
speedcheck.h
splay.c
splay.h
strcase.c
strcase.h
strdup.c
strdup.h
strerror.c checksrc: check for spaces before the colon of switch labels 2023-04-27 23:26:50 +02:00
strerror.h
strtok.c
strtok.h
strtoofft.c
strtoofft.h
system_win32.c
system_win32.h
telnet.c checksrc: disallow spaces before labels 2023-05-18 20:45:04 +02:00
telnet.h
tftp.c lib: unify the upload/method handling 2023-04-25 12:38:38 +02:00
tftp.h
timediff.c
timediff.h
timeval.c
timeval.h
transfer.c http2: better support for --limit-rate 2023-06-02 23:06:12 +02:00
transfer.h
url.c lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
url.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
urlapi-int.h urlapi: make internal function start with Curl_ 2023-04-27 08:36:51 +02:00
urlapi.c urlapi: scheme starts with alpha 2023-06-05 16:28:27 +02:00
urldata.h urldata: shrink *select_bits int => unsigned char 2023-04-26 23:36:45 +02:00
version_win32.c
version_win32.h
version.c lib: silence clang/gcc -Wvla warnings in brotli headers 2023-03-10 22:24:24 +00:00
warnless.c
warnless.h
ws.c ws: fix CONT opcode check 2023-04-27 11:08:48 +02:00
ws.h Websocket en-/decoding 2023-04-25 23:16:51 +02:00