Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d1bd2ea9
Commit
d1bd2ea9
authored
Jul 12, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Jul 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Update comments about hash message version numbers.
parent
a8e135f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
msg.c
dlls/crypt32/msg.c
+4
-2
No files found.
dlls/crypt32/msg.c
View file @
d1bd2ea9
...
...
@@ -348,7 +348,7 @@ static BOOL CRYPT_EncodePKCSDigestedData(CHashEncodeMsg *msg, void *pvData,
if
(
ret
)
{
CRYPT_ALGORITHM_IDENTIFIER
algoId
=
{
0
};
DWORD
version
=
0
;
/* FIXME */
DWORD
version
=
CMSG_HASHED_DATA_PKCS_1_5_VERSION
;
struct
AsnEncodeSequenceItem
items
[
7
]
=
{
{
0
}
};
DWORD
cItem
=
0
;
CRYPT_DATA_BLOB
hash
=
{
0
,
NULL
};
...
...
@@ -455,9 +455,11 @@ static BOOL CHashEncodeMsg_GetParam(HCRYPTMSG hCryptMsg, DWORD dwParamType,
SetLastError
(
CRYPT_E_MSG_ERROR
);
else
{
/* FIXME: under what circumstances is this CMSG_HASHED_DATA_V2? */
DWORD
version
=
CMSG_HASHED_DATA_PKCS_1_5_VERSION
;
/* Since the data are always encoded as octets, the version is
* always 0 (see rfc3852, section 7)
*/
ret
=
CRYPT_CopyParam
(
pvData
,
pcbData
,
(
const
BYTE
*
)
&
version
,
sizeof
(
version
));
}
...
...
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