mirror of
https://github.com/curl/curl.git
synced 2026-08-25 05:43:32 +03:00
lib: make SMB support opt-in
The SMB protocol has weak security and is rarely used these days. Note that SMB also requires NTLM enabled. Closes #20846
This commit is contained in:
parent
06a83340b1
commit
6393103b99
12 changed files with 31 additions and 34 deletions
|
|
@ -345,7 +345,7 @@ static const char * const supported_protocols[] = {
|
|||
"scp",
|
||||
"sftp",
|
||||
#endif
|
||||
#if !defined(CURL_DISABLE_SMB) && defined(USE_CURL_NTLM_CORE)
|
||||
#if defined(CURL_ENABLE_SMB) && defined(USE_CURL_NTLM_CORE)
|
||||
"smb",
|
||||
# ifdef USE_SSL
|
||||
"smbs",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue