mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 07:37:02 +00:00
secur32: Use 32-bit sizes in parameters structures.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
086e950a2b
commit
8a6e15138d
2 changed files with 5 additions and 5 deletions
|
@ -1436,7 +1436,7 @@ static SECURITY_STATUS SEC_ENTRY schan_DecryptMessage(PCtxtHandle context_handle
|
|||
SIZE_T data_size;
|
||||
char *data;
|
||||
unsigned expected_size;
|
||||
SIZE_T received = 0;
|
||||
ULONG received = 0;
|
||||
int idx;
|
||||
unsigned char *buf_ptr;
|
||||
SecBufferDesc input_desc = { 0 };
|
||||
|
@ -1494,7 +1494,7 @@ static SECURITY_STATUS SEC_ENTRY schan_DecryptMessage(PCtxtHandle context_handle
|
|||
return status;
|
||||
}
|
||||
|
||||
TRACE("Received %Id bytes\n", received);
|
||||
TRACE("Received %lu bytes\n", received);
|
||||
|
||||
memcpy(buf_ptr + ctx->header_size, data, received);
|
||||
free(data);
|
||||
|
|
|
@ -145,7 +145,7 @@ struct handshake_params
|
|||
{
|
||||
schan_session session;
|
||||
SecBufferDesc *input;
|
||||
SIZE_T input_size;
|
||||
ULONG input_size;
|
||||
SecBufferDesc *output;
|
||||
ULONG *input_offset;
|
||||
int *output_buffer_idx;
|
||||
|
@ -156,9 +156,9 @@ struct recv_params
|
|||
{
|
||||
schan_session session;
|
||||
SecBufferDesc *input;
|
||||
SIZE_T input_size;
|
||||
ULONG input_size;
|
||||
void *buffer;
|
||||
SIZE_T *length;
|
||||
ULONG *length;
|
||||
};
|
||||
|
||||
struct send_params
|
||||
|
|
Loading…
Reference in a new issue