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:
@@ -24,6 +24,8 @@
|
||||
|
||||
#if !defined(CURL_DISABLE_SMB) && defined(USE_NTLM)
|
||||
|
||||
#if !defined(USE_WINDOWS_SSPI) || defined(USE_WIN32_CRYPTO)
|
||||
|
||||
#define BUILDING_CURL_SMB_C
|
||||
|
||||
#ifdef _WIN32
|
||||
@@ -894,4 +896,6 @@ static CURLcode smb_parse_url_path(struct connectdata *conn)
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
||||
#endif /* !USE_WINDOWS_SSPI || USE_WIN32_CRYPTO */
|
||||
|
||||
#endif /* CURL_DISABLE_SMB && USE_NTLM */
|
||||
|
Reference in New Issue
Block a user