mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
http NTLM: update NTLM message structure notes
This commit is contained in:
parent
301e907aed
commit
092189c664
@ -250,13 +250,19 @@ static unsigned int readint_le(unsigned char *buf)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
(*) = A "security buffer" is a triplet consisting of two shorts and one
|
NTLM message structure notes:
|
||||||
long:
|
|
||||||
|
|
||||||
1. a 'short' containing the length of the buffer in bytes
|
A 'short' is a little-endian, 16-bit unsigned value.
|
||||||
2. a 'short' containing the allocated space for the buffer in bytes
|
|
||||||
3. a 'long' containing the offset to the start of the buffer from the
|
A 'long' is a little-endian, 32-bit unsigned value.
|
||||||
beginning of the NTLM message, in bytes.
|
|
||||||
|
A 'security buffer' represents a triplet used to point to a buffer,
|
||||||
|
consisting of two shorts and one long:
|
||||||
|
|
||||||
|
1. A 'short' containing the length of the buffer content in bytes.
|
||||||
|
2. A 'short' containing the allocated space for the buffer in bytes.
|
||||||
|
3. A 'long' containing the offset to the start of the buffer in bytes,
|
||||||
|
from the beginning of the NTLM message.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
CURLntlm Curl_input_ntlm(struct connectdata *conn,
|
CURLntlm Curl_input_ntlm(struct connectdata *conn,
|
||||||
|
Loading…
Reference in New Issue
Block a user