aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2006-04-08 11:04:53 +0000
committerGisle Vanem <gvanem@broadpark.no>2006-04-08 11:04:53 +0000
commite4a4b562c45c0a96466d82c9dc272a9214097bad (patch)
tree953c6a1724fb7c5ea7be8e1dbd61e1ff85299640 /lib
parent35b4a755f9f38d802b609c5f72efb2b157fb13ba (diff)
readint_le() not needed in USE_WINDOWS_SSPI code.
Diffstat (limited to 'lib')
-rw-r--r--lib/http_ntlm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c
index b15c3bf67..2dc293d9b 100644
--- a/lib/http_ntlm.c
+++ b/lib/http_ntlm.c
@@ -94,6 +94,7 @@ static PSecurityFunctionTable s_pSecFn = NULL;
/* Define this to make the type-3 message include the NT response message */
#define USE_NTRESPONSES 1
+#ifndef USE_WINDOWS_SSPI
/* this function converts from the little endian format used in the incoming
package to whatever endian format we're using natively */
static unsigned int readint_le(unsigned char *buf) /* must point to a
@@ -102,6 +103,7 @@ static unsigned int readint_le(unsigned char *buf) /* must point to a
return ((unsigned int)buf[0]) | ((unsigned int)buf[1] << 8) |
((unsigned int)buf[2] << 16) | ((unsigned int)buf[3] << 24);
}
+#endif
#if DEBUG_ME
# define DEBUG_OUT(x) x