Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
schannel: disable client cert path feature if APIs not available #2522
Original MinGW targets Windows 2000 by default, which lacks some APIs and definitions for this feature. Disable it if required APIs not available.
@mback2k Could you help review that if the
Please do not disable this feature for all MinGW builds. MinGW-w64 and Msys2 provide updated APIs which include the required definitions, see the other builds here: https://curlbuild.uxnr.de/waterfall (only 2 of them are failing.)
Please check for the required API instead. Another approach would be to add the required definitions if they are missing, like here: https://github.com/curl/curl/blob/master/lib/vtls/schannel.c#L99