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
01446703
Commit
01446703
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: Get rid of attribute certs from signed info, they're not supported anyway.
parent
a50d8dc1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
13 deletions
+6
-13
crypt32_private.h
dlls/crypt32/crypt32_private.h
+0
-2
encode.c
dlls/crypt32/encode.c
+0
-2
msg.c
dlls/crypt32/msg.c
+6
-9
No files found.
dlls/crypt32/crypt32_private.h
View file @
01446703
...
@@ -89,8 +89,6 @@ typedef struct _CRYPT_SIGNED_INFO
...
@@ -89,8 +89,6 @@ typedef struct _CRYPT_SIGNED_INFO
PCERT_BLOB
rgCertEncoded
;
PCERT_BLOB
rgCertEncoded
;
DWORD
cCrlEncoded
;
DWORD
cCrlEncoded
;
PCRL_BLOB
rgCrlEncoded
;
PCRL_BLOB
rgCrlEncoded
;
DWORD
cAttrCertEncoded
;
PCERT_BLOB
rgAttrCertEncoded
;
CRYPT_CONTENT_INFO
content
;
CRYPT_CONTENT_INFO
content
;
DWORD
cSignerInfo
;
DWORD
cSignerInfo
;
PCMSG_SIGNER_INFO
rgSignerInfo
;
PCMSG_SIGNER_INFO
rgSignerInfo
;
...
...
dlls/crypt32/encode.c
View file @
01446703
...
@@ -3255,8 +3255,6 @@ BOOL CRYPT_AsnEncodePKCSSignedInfo(CRYPT_SIGNED_INFO *signedInfo, void *pvData,
...
@@ -3255,8 +3255,6 @@ BOOL CRYPT_AsnEncodePKCSSignedInfo(CRYPT_SIGNED_INFO *signedInfo, void *pvData,
DWORD
cItem
=
1
,
cSwapped
=
0
;
DWORD
cItem
=
1
,
cSwapped
=
0
;
BOOL
ret
=
TRUE
;
BOOL
ret
=
TRUE
;
if
(
signedInfo
->
cAttrCertEncoded
)
FIXME
(
"unimplemented for attr certs
\n
"
);
if
(
signedInfo
->
cSignerInfo
)
if
(
signedInfo
->
cSignerInfo
)
{
{
digestAlgorithmsSet
.
cItems
=
signedInfo
->
cSignerInfo
;
digestAlgorithmsSet
.
cItems
=
signedInfo
->
cSignerInfo
;
...
...
dlls/crypt32/msg.c
View file @
01446703
...
@@ -1833,21 +1833,18 @@ static BOOL CDecodeSignedMsg_GetParam(CDecodeMsg *msg, DWORD dwParamType,
...
@@ -1833,21 +1833,18 @@ static BOOL CDecodeSignedMsg_GetParam(CDecodeMsg *msg, DWORD dwParamType,
break
;
break
;
case
CMSG_ATTR_CERT_COUNT_PARAM
:
case
CMSG_ATTR_CERT_COUNT_PARAM
:
if
(
msg
->
u
.
signedInfo
)
if
(
msg
->
u
.
signedInfo
)
{
DWORD
attrCertCount
=
0
;
ret
=
CRYPT_CopyParam
(
pvData
,
pcbData
,
ret
=
CRYPT_CopyParam
(
pvData
,
pcbData
,
&
msg
->
u
.
signedInfo
->
cAttrCertEncoded
,
sizeof
(
DWORD
));
&
attrCertCount
,
sizeof
(
DWORD
));
}
else
else
SetLastError
(
CRYPT_E_INVALID_MSG_TYPE
);
SetLastError
(
CRYPT_E_INVALID_MSG_TYPE
);
break
;
break
;
case
CMSG_ATTR_CERT_PARAM
:
case
CMSG_ATTR_CERT_PARAM
:
if
(
msg
->
u
.
signedInfo
)
if
(
msg
->
u
.
signedInfo
)
{
SetLastError
(
CRYPT_E_INVALID_INDEX
);
if
(
dwIndex
>=
msg
->
u
.
signedInfo
->
cAttrCertEncoded
)
SetLastError
(
CRYPT_E_INVALID_INDEX
);
else
ret
=
CRYPT_CopyParam
(
pvData
,
pcbData
,
msg
->
u
.
signedInfo
->
rgAttrCertEncoded
[
dwIndex
].
pbData
,
msg
->
u
.
signedInfo
->
rgAttrCertEncoded
[
dwIndex
].
cbData
);
}
else
else
SetLastError
(
CRYPT_E_INVALID_MSG_TYPE
);
SetLastError
(
CRYPT_E_INVALID_MSG_TYPE
);
break
;
break
;
...
...
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