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
fce8a26c
Commit
fce8a26c
authored
Dec 09, 2008
by
Juan Lang
Committed by
Alexandre Julliard
Dec 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Remove unnecessary casts.
parent
8e02da98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
cert.c
dlls/crypt32/cert.c
+4
-5
No files found.
dlls/crypt32/cert.c
View file @
fce8a26c
...
...
@@ -476,7 +476,7 @@ static BOOL CertContext_SetProperty(void *context, DWORD dwPropId,
{
if
(
pvData
)
{
const
CRYPT_DATA_BLOB
*
blob
=
(
const
CRYPT_DATA_BLOB
*
)
pvData
;
const
CRYPT_DATA_BLOB
*
blob
=
pvData
;
ret
=
ContextPropertyList_SetProperty
(
properties
,
dwPropId
,
blob
->
pbData
,
blob
->
cbData
);
...
...
@@ -491,7 +491,7 @@ static BOOL CertContext_SetProperty(void *context, DWORD dwPropId,
case
CERT_DATE_STAMP_PROP_ID
:
if
(
pvData
)
ret
=
ContextPropertyList_SetProperty
(
properties
,
dwPropId
,
(
const
BYTE
*
)
pvData
,
sizeof
(
FILETIME
));
pvData
,
sizeof
(
FILETIME
));
else
{
ContextPropertyList_RemoveProperty
(
properties
,
dwPropId
);
...
...
@@ -502,7 +502,7 @@ static BOOL CertContext_SetProperty(void *context, DWORD dwPropId,
{
if
(
pvData
)
{
const
CERT_KEY_CONTEXT
*
keyContext
=
(
const
CERT_KEY_CONTEXT
*
)
pvData
;
const
CERT_KEY_CONTEXT
*
keyContext
=
pvData
;
if
(
keyContext
->
cbSize
!=
sizeof
(
CERT_KEY_CONTEXT
))
{
...
...
@@ -522,8 +522,7 @@ static BOOL CertContext_SetProperty(void *context, DWORD dwPropId,
}
case
CERT_KEY_PROV_INFO_PROP_ID
:
if
(
pvData
)
ret
=
CertContext_SetKeyProvInfoProperty
(
properties
,
(
const
CRYPT_KEY_PROV_INFO
*
)
pvData
);
ret
=
CertContext_SetKeyProvInfoProperty
(
properties
,
pvData
);
else
{
ContextPropertyList_RemoveProperty
(
properties
,
dwPropId
);
...
...
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