aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorMarcel Roelofs <Marcel.Roelofs@aimms.com>2011-01-05 17:01:07 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-01-07 23:48:40 +0100
commit1d28efb9d1759bcbc81d28e462c2e3a5d60a17e4 (patch)
tree415e7ca19589d7f8e4ef6532f2bab5e1236d9ce6 /lib/setup.h
parent9ba42a023d6df26ac7ad2dde992f212ed3b05f8f (diff)
HTTP: HTTP Negotiate authentication using SSPI
Only under Windows
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/setup.h b/lib/setup.h
index 0902d2c6f..63f51e4fb 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -541,6 +541,10 @@ int netware_init(void);
#define USE_SSL /* SSL support has been enabled */
#endif
+#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
+#define USE_HTTP_NEGOTIATE
+#endif
+
#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_NTLM)
#if defined(USE_SSLEAY) || defined(USE_WINDOWS_SSPI) || defined(USE_GNUTLS) || defined(USE_NSS)
#define USE_NTLM