diff options
-rw-r--r-- | lib/url.c | 8 | ||||
-rw-r--r-- | lib/version.c | 7 |
2 files changed, 15 insertions, 0 deletions
@@ -216,6 +216,14 @@ static const struct Curl_handler * const protocols[] = { #endif #endif +#if !defined(CURL_DISABLE_SMB) && defined(USE_NTLM) && \ + !defined(USE_WINDOWS_SSPI) + &Curl_handler_smb, +#ifdef USE_SSL + &Curl_handler_smbs, +#endif +#endif + #ifndef CURL_DISABLE_SMTP &Curl_handler_smtp, #ifdef USE_SSL diff --git a/lib/version.c b/lib/version.c index 1ea8a21e8..0eb229bc6 100644 --- a/lib/version.c +++ b/lib/version.c @@ -216,6 +216,13 @@ static const char * const protocols[] = { #ifdef USE_LIBSSH2 "sftp", #endif +#if !defined(CURL_DISABLE_SMB) && defined(USE_NTLM) && \ + !defined(USE_WINDOWS_SSPI) + "smb", +# ifdef USE_SSL + "smbs", +# endif +#endif #ifndef CURL_DISABLE_SMTP "smtp", #endif |