build: make NTLM disabled by default

NTLM has weak security and does not work over HTTP/2 or HTTP/3.

Enable in cmake or configure to get support for it.

Closes #20698
This commit is contained in:
Daniel Stenberg 2026-03-21 12:30:31 +01:00
parent c247725b92
commit cc0c83c5f8
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
8 changed files with 16 additions and 26 deletions

View file

@ -118,8 +118,8 @@
/* disables netrc parser */
#cmakedefine CURL_DISABLE_NETRC 1
/* disables NTLM support */
#cmakedefine CURL_DISABLE_NTLM 1
/* enables NTLM support */
#cmakedefine CURL_ENABLE_NTLM 1
/* disables date parsing */
#cmakedefine CURL_DISABLE_PARSEDATE 1