aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_ntlm_msgs.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/curl_ntlm_msgs.h')
-rw-r--r--lib/curl_ntlm_msgs.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/curl_ntlm_msgs.h b/lib/curl_ntlm_msgs.h
index 7acf7229f..703fb75e1 100644
--- a/lib/curl_ntlm_msgs.h
+++ b/lib/curl_ntlm_msgs.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, 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
@@ -163,6 +163,14 @@ void Curl_ntlm_sspi_cleanup(struct ntlmdata *ntlm);
#define NTLMFLAG_NEGOTIATE_56 (1<<31)
/* Indicates that 56-bit encryption is supported. */
+#ifdef UNICODE
+# define SECFLAG_WINNT_AUTH_IDENTITY \
+ (unsigned long)SEC_WINNT_AUTH_IDENTITY_UNICODE
+#else
+# define SECFLAG_WINNT_AUTH_IDENTITY \
+ (unsigned long)SEC_WINNT_AUTH_IDENTITY_ANSI
+#endif
+
#endif /* BUILDING_CURL_NTLM_MSGS_C */
#endif /* USE_NTLM */