Use new out_utf16s_padded() string function for fixed string
This commit is contained in:
parent
791906e45d
commit
995e830665
3
secure.c
3
secure.c
@ -431,8 +431,7 @@ sec_out_mcs_data(STREAM s, uint32 selected_protocol)
|
||||
out_uint32_le(s, 2600); /* Client build. We are now 2600 compatible :-) */
|
||||
|
||||
/* Unicode name of client, padded to 32 bytes */
|
||||
rdp_out_unistr(s, g_hostname, hostlen);
|
||||
out_uint8s(s, 30 - hostlen);
|
||||
out_utf16s_padded(s, g_hostname, 32, 0x00);
|
||||
|
||||
/* See
|
||||
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk40/html/cxtsksupportingremotedesktopprotocol.asp */
|
||||
|
Loading…
Reference in New Issue
Block a user