curl-curl/.github/workflows
Viktor Szakats 923db3515d
schannel: not supported with UWP, drop redundant code
Schannel is not supported by UWP. SSPI is also required by Schannel in
curl, and SSPI also isn't supported by UWP.

mingw-w64 is able to create such build regardless (my guess: due to API
parts not accurately marked as UWP-only), but the binary is unlikely
to work. With MSVC the failure happens at build-time.

Ref: https://learn.microsoft.com/windows/win32/api/sspi/nf-sspi-initsecurityinterfacea#requirements
Ref: https://learn.microsoft.com/windows/win32/secauthn/initializesecuritycontext--schannel#requirements

Drop all UWP-related logic, including two related feature checks, that
can now be permanently enabled.

Also:
- build: show fatal error for Schannel in UWP mode.
- build: do not allow enabling SSPI in UWP mode.
- drop undocumented option `DISABLE_SCHANNEL_CLIENT_CERT`. Added without
  mention in an unrelated commit. The PR text says to save size. On x64
  this is 0.3%, or 4KB out of 1.3MB. The tiny gain doesn't justify
  an extra build variant. Ref: 8beff43559
- move `MPROTO_SCHANNEL_CERT_SHARE_KEY` closer to its use.
- replace commented block with `#if 0`.

Reviewed-by: Jay Satiro
Follow-up to cd0ec4784c #17089
Closes #18116
2025-07-31 20:05:32 +02:00
..
appveyor-status.yml GHA: fix zizmor 1.10.0 warnings, update names 2025-06-30 18:38:56 +02:00
checkdocs.yml GHA: fix zizmor 1.10.0 warnings, update names 2025-06-30 18:38:56 +02:00
checksrc.yml GHA/checksrc: expand spellcheck, fix issues found 2025-07-21 16:09:01 +02:00
configure-vs-cmake.yml GHA: fix zizmor 1.10.0 warnings, update names 2025-06-30 18:38:56 +02:00
curl-for-win.yml GHA/curl-for-win: reduce job timeout to 10m, apply to Windows jobs 2025-07-07 19:03:00 +02:00
distcheck.yml GHA/distcheck: add more tarball builds 2025-07-31 00:41:36 +02:00
fuzz.yml CI: skip CI builds that just touch Dockerfile 2025-07-02 18:28:24 -07:00
hacktoberfest-accepted.yml GHA: fix zizmor 1.10.0 warnings, update names 2025-06-30 18:38:56 +02:00
http3-linux.yml pytest: use dante-server in CI 2025-07-29 15:02:30 +02:00
label.yml GHA: fix zizmor 1.10.0 warnings, update names 2025-06-30 18:38:56 +02:00
linux-old.yml CI: update glibc in linux-old build 2025-07-23 11:28:54 -07:00
linux.yml tidy-up: whitespace, indent, #if 0 2025-07-30 03:46:21 +02:00
macos.yml tests: fix UTF-8 detection, per-test LC_* settings, CI coverage 2025-07-23 22:17:07 +02:00
non-native.yml GHA/non-native: FreeBSD 14.3 2025-07-22 20:18:26 +02:00
windows.yml schannel: not supported with UWP, drop redundant code 2025-07-31 20:05:32 +02:00