mirror of
https://github.com/curl/curl.git
synced 2026-07-28 00:53:06 +03:00
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.
This commit is contained in:
parent
65262be0ab
commit
0ecd8803a1
8 changed files with 16 additions and 26 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -762,7 +762,7 @@
|
|||
#endif
|
||||
|
||||
/* Single point where USE_NTLM definition might be defined */
|
||||
#ifndef CURL_DISABLE_NTLM
|
||||
#ifdef CURL_ENABLE_NTLM
|
||||
# if (defined(USE_OPENSSL) && defined(HAVE_DES_ECB_ENCRYPT)) || \
|
||||
defined(USE_GNUTLS) || \
|
||||
(defined(USE_MBEDTLS) && defined(HAVE_MBEDTLS_DES_CRYPT_ECB)) || \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue