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
7c835655
Commit
7c835655
authored
Sep 08, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Sep 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Don't store redundant copy of detached hash message data.
parent
254f9b9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
msg.c
dlls/crypt32/msg.c
+5
-7
No files found.
dlls/crypt32/msg.c
View file @
7c835655
...
@@ -1723,15 +1723,13 @@ static BOOL CDecodeMsg_FinalizeHashedContent(CDecodeMsg *msg,
...
@@ -1723,15 +1723,13 @@ static BOOL CDecodeMsg_FinalizeHashedContent(CDecodeMsg *msg,
{
{
/* Unlike for non-detached messages, the data were never stored as
/* Unlike for non-detached messages, the data were never stored as
* the content param, but were saved in msg->detached_data instead.
* the content param, but were saved in msg->detached_data instead.
* Set the content property with the detached data so the data may
* be hashed.
*/
*/
ContextPropertyList_SetProperty
(
msg
->
properties
,
content
.
pbData
=
msg
->
detached_data
.
pbData
;
CMSG_CONTENT_PARAM
,
msg
->
detached_data
.
pbData
,
content
.
cbData
=
msg
->
detached_data
.
cbData
;
msg
->
detached_data
.
cbData
);
}
}
ret
=
ContextPropertyList_FindProperty
(
msg
->
properties
,
else
CMSG_CONTENT_PARAM
,
&
content
);
ret
=
ContextPropertyList_FindProperty
(
msg
->
properties
,
CMSG_CONTENT_PARAM
,
&
content
);
if
(
ret
)
if
(
ret
)
ret
=
CryptHashData
(
msg
->
u
.
hash
,
content
.
pbData
,
content
.
cbData
,
0
);
ret
=
CryptHashData
(
msg
->
u
.
hash
,
content
.
pbData
,
content
.
cbData
,
0
);
}
}
...
...
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