summaryrefslogtreecommitdiff
path: root/lib/version.c
diff options
context:
space:
mode:
authorBill Nagel <wnagel@tycoint.com>2014-11-30 11:18:46 -0500
committerSteve Holme <steve_holme@hotmail.com>2014-11-30 20:25:28 +0000
commit6f2419342f8408120486e914da9aa7f58cb62ac2 (patch)
treef3dcc59c060604f83dd23266fa70497232b7c1d2 /lib/version.c
parentd95cb3edc8216db234226181e0bbff18b261edc6 (diff)
downloadgnurl-6f2419342f8408120486e914da9aa7f58cb62ac2.tar.gz
gnurl-6f2419342f8408120486e914da9aa7f58cb62ac2.tar.bz2
gnurl-6f2419342f8408120486e914da9aa7f58cb62ac2.zip
libcurl: Enable support for the SMB protocol
This patch enables SMB/CIFS support in libcurl.
Diffstat (limited to 'lib/version.c')
-rw-r--r--lib/version.c7
1 files changed, 7 insertions, 0 deletions
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