mirror of
https://github.com/curl/curl.git
synced 2025-09-20 11:02:42 +03:00
readint_le() not needed in USE_WINDOWS_SSPI code.
This commit is contained in:
parent
35b4a755f9
commit
e4a4b562c4
|
@ -94,6 +94,7 @@ static PSecurityFunctionTable s_pSecFn = NULL;
|
||||||
/* Define this to make the type-3 message include the NT response message */
|
/* Define this to make the type-3 message include the NT response message */
|
||||||
#define USE_NTRESPONSES 1
|
#define USE_NTRESPONSES 1
|
||||||
|
|
||||||
|
#ifndef USE_WINDOWS_SSPI
|
||||||
/* this function converts from the little endian format used in the incoming
|
/* this function converts from the little endian format used in the incoming
|
||||||
package to whatever endian format we're using natively */
|
package to whatever endian format we're using natively */
|
||||||
static unsigned int readint_le(unsigned char *buf) /* must point to a
|
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) |
|
return ((unsigned int)buf[0]) | ((unsigned int)buf[1] << 8) |
|
||||||
((unsigned int)buf[2] << 16) | ((unsigned int)buf[3] << 24);
|
((unsigned int)buf[2] << 16) | ((unsigned int)buf[3] << 24);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DEBUG_ME
|
#if DEBUG_ME
|
||||||
# define DEBUG_OUT(x) x
|
# define DEBUG_OUT(x) x
|
||||||
|
|
Loading…
Reference in New Issue
Block a user