search for: write_le16

Displaying 3 results from an estimated 3 matches for "write_le16".

2004 Oct 22
1
[PATCH] support OEM encoding in NTLM messages
...f, 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(&info.length, strlen(data) * sizeof(ucs2le_t)); buffer_append(buf, &info, sizeof(info)); - length = append_string(buf, data, 0);...
2004 Jul 30
0
patch for test31 compile problem
...-1.0-test31/src/lib-ntlm/ntlm-message.c Fri Jul 30 09:23:42 2004 *************** *** 76,83 **** va_start(args, buffer_offset); do { - type = va_arg(args, int); const char *data; memset(&info, 0, sizeof(info)); write_le16(&info.type, type); --- 76,83 ---- va_start(args, buffer_offset); do { const char *data; + type = va_arg(args, int); memset(&info, 0, sizeof(info)); write_le16(&in
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: