Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8a6e1513
Commit
8a6e1513
authored
May 31, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Use 32-bit sizes in parameters structures.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
parent
086e950a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
schannel.c
dlls/secur32/schannel.c
+2
-2
secur32_priv.h
dlls/secur32/secur32_priv.h
+3
-3
No files found.
dlls/secur32/schannel.c
View file @
8a6e1513
...
...
@@ -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
);
...
...
dlls/secur32/secur32_priv.h
View file @
8a6e1513
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment