{"author":"Viktor Szakats","author_email":"commit@vsz.me","author_time":1753940675,"commit_time":1753985132,"committer":"Viktor Szakats","committer_email":"commit@vsz.me","hash":"923db3515d3f3a707fd4cad6f05f9538899536d7","message":"schannel: not supported with UWP, drop redundant code\n\nSchannel is not supported by UWP. SSPI is also required by Schannel in\ncurl, and SSPI also isn't supported by UWP.\n\nmingw-w64 is able to create such build regardless (my guess: due to API\nparts not accurately marked as UWP-only), but the binary is unlikely\nto work. With MSVC the failure happens at build-time.\n\nRef: https://learn.microsoft.com/windows/win32/api/sspi/nf-sspi-initsecurityinterfacea#requirements\nRef: https://learn.microsoft.com/windows/win32/secauthn/initializesecuritycontext--schannel#requirements\n\nDrop all UWP-related logic, including two related feature checks, that\ncan now be permanently enabled.\n\nAlso:\n- build: show fatal error for Schannel in UWP mode.\n- build: do not allow enabling SSPI in UWP mode.\n- drop undocumented option `DISABLE_SCHANNEL_CLIENT_CERT`. Added without\n  mention in an unrelated commit. The PR text says to save size. On x64\n  this is 0.3%, or 4KB out of 1.3MB. The tiny gain doesn't justify\n  an extra build variant. Ref: 8beff4355956e3d18ceb3afc21c1f3edec82543c\n- move `MPROTO_SCHANNEL_CERT_SHARE_KEY` closer to its use.\n- replace commented block with `#if 0`.\n\nReviewed-by: Jay Satiro\nFollow-up to cd0ec4784c1c0f873939f33ec1a73c8739f276b9 #17089\nCloses #18116\n","parents":["b5c245045e9606508a50d7d4eefcbffdb814339d"],"tree_hash":"a8566f53a257712a17d6acdfa8ce7b4428bab595"}