curl/lib/vtls
Viktor Szakats c220674ac4
windows: tidy up includes, macros, document dependencies
- define `SECURITY_WIN32` globally in `curl_setup.h`.
  To make sure it applies to all includes.

- document which Windows headers require `SECURITY_WIN32`.

- stop suppressing MSVC warning:
  `C4201 is: nonstandard extension used : nameless struct/union`
  The warning is no longer seen in supported build envs with the current
  codebase.
  Follow-up to 8beff43559 #8419

- document why `SCHANNEL_USE_BLACKLISTS` is needed.

- just define `SCHANNEL_USE_BLACKLISTS`, drop the unnecessary value `1`.

- stop defining unused `SCH_CRED_MAX_SUPPORTED*` fallback macros.
  Follow-up to 8beff43559 #8419

- document why `subauth.h` is included (where missing).

- move and de-dupe `subauth.h` include into `curl_setup.h`, limit to
  Schannel builds.

- stop include `schnlsp.h`. It is a 1-to-1 compatibility wrapper for
  `schannel.h`.

- curl_sspi.h: clarify comment about `SP_NAME_` macros.
  They are local macros, their SDK names are different and curl does not
  use them.

- curl_sspi.h: drop superfluous includes `security.h` and `rpc.h`.

Cherry-picked from #20556

Closes #20564
2026-02-11 16:15:11 +01:00
..
apple.c build: fully omit verbose strings and code when disabled 2026-01-21 13:18:35 +01:00
apple.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
cipher_suite.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
cipher_suite.h build: assume stdint.h 2026-01-28 12:05:20 +01:00
gtls.c tidy-up: move literals to right-side of if expressions (where missing) 2026-02-07 16:41:51 +01:00
gtls.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
hostcheck.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
hostcheck.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
keylog.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
keylog.h spelling: 'a' vs 'an' 2025-05-30 11:38:35 +02:00
mbedtls.c tidy-up: move literals to right-side of if expressions (where missing) 2026-02-07 16:41:51 +01:00
mbedtls.h lib: include files using known path 2025-04-08 17:00:00 +02:00
openssl.c tidy-up: move literals to right-side of if expressions (where missing) 2026-02-07 16:41:51 +01:00
openssl.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
rustls.c tidy-up: move literals to right-side of if expressions (where missing) 2026-02-07 16:41:51 +01:00
rustls.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
schannel.c build: tidy up and dedupe strdup functions 2026-02-03 14:02:30 +01:00
schannel.h windows: tidy up includes, macros, document dependencies 2026-02-11 16:15:11 +01:00
schannel_int.h windows: tidy up includes, macros, document dependencies 2026-02-11 16:15:11 +01:00
schannel_verify.c tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
vtls.c vtls: use ALPN http/1.0 & http/1.1 for HTTP/1.0 requests 2026-02-09 12:15:35 -05:00
vtls.h tls: add new SSLSUPP flags for several options 2026-01-20 10:34:08 +01:00
vtls_int.h vtls: use ALPN http/1.0 & http/1.1 for HTTP/1.0 requests 2026-02-09 12:15:35 -05:00
vtls_scache.c build: drop more forward function declarations 2026-01-14 23:34:05 +01:00
vtls_scache.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00
vtls_spack.c build: tidy up and dedupe strdup functions 2026-02-03 14:02:30 +01:00
vtls_spack.h build: fix build errors/warnings in rare configurations 2025-07-23 22:17:03 +02:00
wolfssl.c tidy-up: move literals to right-side of if expressions (where missing) 2026-02-07 16:41:51 +01:00
wolfssl.h wolfssl: fix possible assert with !HAVE_NO_EX wolfSSL builds 2025-12-07 17:01:45 +01:00
x509asn1.c build: use more const 2026-02-02 12:32:49 +01:00
x509asn1.h tidy-up: miscellaneous 2025-12-26 22:06:09 +01:00