mirror of
https://github.com/curl/curl.git
synced 2026-08-25 11:13:32 +03:00
smb: Fixed Windows autoconf builds following commit eb88d778e7
As Windows based autoconf builds don't yet define USE_WIN32_CRYPTO either explicitly through --enable-win32-cypto or automatically on _WIN32 based platforms, subsequent builds broke with the following error message: "Can't compile NTLM support without a crypto library."
This commit is contained in:
parent
090232ea19
commit
dcd484a238
6 changed files with 20 additions and 2 deletions
|
|
@ -216,7 +216,8 @@ static const char * const protocols[] = {
|
|||
#ifdef USE_LIBSSH2
|
||||
"sftp",
|
||||
#endif
|
||||
#if !defined(CURL_DISABLE_SMB) && defined(USE_NTLM)
|
||||
#if !defined(CURL_DISABLE_SMB) && defined(USE_NTLM) && \
|
||||
(!defined(USE_WINDOWS_SSPI) || defined(USE_WIN32_CRYPTO))
|
||||
"smb",
|
||||
# ifdef USE_SSL
|
||||
"smbs",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue