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
4e0f33da
Commit
4e0f33da
authored
Jul 30, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Jul 31, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Support getting the inner content OID from a decoded signed message.
parent
01446703
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
msg.c
dlls/crypt32/msg.c
+8
-0
msg.c
dlls/crypt32/tests/msg.c
+0
-1
No files found.
dlls/crypt32/msg.c
View file @
4e0f33da
...
...
@@ -1760,6 +1760,14 @@ static BOOL CDecodeSignedMsg_GetParam(CDecodeMsg *msg, DWORD dwParamType,
else
SetLastError
(
CRYPT_E_INVALID_MSG_TYPE
);
break
;
case
CMSG_INNER_CONTENT_TYPE_PARAM
:
if
(
msg
->
u
.
signedInfo
)
ret
=
CRYPT_CopyParam
(
pvData
,
pcbData
,
msg
->
u
.
signedInfo
->
content
.
pszObjId
,
strlen
(
msg
->
u
.
signedInfo
->
content
.
pszObjId
)
+
1
);
else
SetLastError
(
CRYPT_E_INVALID_MSG_TYPE
);
break
;
case
CMSG_SIGNER_COUNT_PARAM
:
if
(
msg
->
u
.
signedInfo
)
ret
=
CRYPT_CopyParam
(
pvData
,
pcbData
,
...
...
dlls/crypt32/tests/msg.c
View file @
4e0f33da
...
...
@@ -1978,7 +1978,6 @@ static void test_decode_msg_get_param(void)
ok
(
ret
,
"CryptMsgUpdate failed: %08x
\n
"
,
GetLastError
());
check_param
(
"signed content"
,
msg
,
CMSG_CONTENT_PARAM
,
msgData
,
sizeof
(
msgData
));
todo_wine
check_param
(
"inner content"
,
msg
,
CMSG_INNER_CONTENT_TYPE_PARAM
,
(
const
BYTE
*
)
szOID_RSA_data
,
strlen
(
szOID_RSA_data
)
+
1
);
size
=
sizeof
(
value
);
...
...
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