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
e2bd967a
Commit
e2bd967a
authored
Jun 26, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jun 26, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Handle padding only records in schan_DecryptMessage().
parent
dc1d7868
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
schannel.c
dlls/secur32/schannel.c
+5
-10
No files found.
dlls/secur32/schannel.c
View file @
e2bd967a
...
...
@@ -1080,23 +1080,18 @@ static SECURITY_STATUS SEC_ENTRY schan_DecryptMessage(PCtxtHandle context_handle
{
SIZE_T
length
=
data_size
-
received
;
SECURITY_STATUS
status
=
schan_imp_recv
(
ctx
->
session
,
data
+
received
,
&
length
);
if
(
status
==
SEC_I_CONTINUE_NEEDED
)
{
if
(
!
received
)
{
HeapFree
(
GetProcessHeap
(),
0
,
data
);
TRACE
(
"Returning SEC_E_INCOMPLETE_MESSAGE
\n
"
);
return
SEC_E_INCOMPLETE_MESSAGE
;
}
break
;
}
else
if
(
status
!=
SEC_E_OK
)
if
(
status
!=
SEC_E_OK
)
{
HeapFree
(
GetProcessHeap
(),
0
,
data
);
ERR
(
"Returning %d
\n
"
,
status
);
return
status
;
}
else
if
(
!
length
)
if
(
!
length
)
break
;
received
+=
length
;
...
...
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