Displaying 2 results from an estimated 2 matches for "write_le32".
Did you mean:
write_le16
2004 Jul 27
3
[PATCH 0/10] NTLM patchset submission
Hello all,
as I promised some days ago here is NTLM (aka SPA, aka MSN) authentication
support patchset.
It contains common code in src/lib-ntlm directory, Samba compatible
NTLM password scheme and authentication mechanism itself.
All patches are against 1.0-test30.
Please take a look.
Best regards.
--
Andrey Panin | Linux and UNIX system administrator
pazke at donpac.ru | PGP key:
2004 Oct 22
1
[PATCH] support OEM encoding in NTLM messages
...if (unicode) {
+ buffer_append_c(buf, 0);
+ length++;
+ }
+ length++;
}
return length;
}
static void ntlmssp_append_string(buffer_t *buf, size_t buffer_offset,
- const char *str)
+ const char *str, int unicode)
{
struct ntlmssp_buffer buffer;
unsigned int length;
write_le32(&buffer.offset, buffer_get_used_size(buf));
- length = append_string(buf, str, 0);
+ length = append_string(buf, str, 0, unicode);
write_le16(&buffer.length, length);
write_le16(&buffer.space, length);
@@ -95,7 +105,8 @@ static void ntlmssp_append_target_info(b
write_le16(&...