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
ebaf4dd5
Commit
ebaf4dd5
authored
Sep 04, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Get rid of PCONTEXT_FUNCS typedef.
parent
9cee96be
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
collectionstore.c
dlls/crypt32/collectionstore.c
+5
-5
crypt32_private.h
dlls/crypt32/crypt32_private.h
+1
-1
No files found.
dlls/crypt32/collectionstore.c
View file @
ebaf4dd5
...
...
@@ -88,11 +88,11 @@ static BOOL CRYPT_CollectionAddContext(PWINE_COLLECTIONSTORE store,
if
(
toReplace
)
{
void
*
existingLinked
=
Context_GetLinkedContext
(
toReplace
,
contextSize
);
PCONTEXT_FUNCS
contextFuncs
;
CONTEXT_FUNCS
*
contextFuncs
;
storeEntry
=
*
(
PWINE_STORE_LIST_ENTRY
*
)
Context_GetExtra
(
toReplace
,
contextSize
);
contextFuncs
=
(
PCONTEXT_FUNCS
)((
LPBYTE
)
storeEntry
->
store
+
contextFuncs
=
(
CONTEXT_FUNCS
*
)((
LPBYTE
)
storeEntry
->
store
+
contextFuncsOffset
);
ret
=
contextFuncs
->
addContext
(
storeEntry
->
store
,
context
,
existingLinked
,
(
const
void
**
)
&
childContext
);
...
...
@@ -107,7 +107,7 @@ static BOOL CRYPT_CollectionAddContext(PWINE_COLLECTIONSTORE store,
{
if
(
entry
->
dwUpdateFlags
&
CERT_PHYSICAL_STORE_ADD_ENABLE_FLAG
)
{
PCONTEXT_FUNCS
contextFuncs
=
(
PCONTEXT_FUNCS
)(
CONTEXT_FUNCS
*
contextFuncs
=
(
CONTEXT_FUNCS
*
)(
(
LPBYTE
)
entry
->
store
+
contextFuncsOffset
);
storeEntry
=
entry
;
...
...
@@ -168,8 +168,8 @@ static void *CRYPT_CollectionAdvanceEnum(PWINE_COLLECTIONSTORE store,
size_t
offset
=
(
const
BYTE
*
)
contextFuncs
-
(
LPBYTE
)
storeEntry
->
store
;
PWINE_STORE_LIST_ENTRY
storeNextEntry
=
LIST_ENTRY
(
storeNext
,
WINE_STORE_LIST_ENTRY
,
entry
);
PCONTEXT_FUNCS
storeNextContexts
=
(
PCONTEXT_FUNCS
)((
LPBYTE
)
storeNextEntry
->
store
+
offset
);
CONTEXT_FUNCS
*
storeNextContexts
=
(
CONTEXT_FUNCS
*
)((
LPBYTE
)
storeNextEntry
->
store
+
offset
);
ret
=
CRYPT_CollectionAdvanceEnum
(
store
,
storeNextEntry
,
storeNextContexts
,
contextInterface
,
NULL
,
contextSize
);
...
...
dlls/crypt32/crypt32_private.h
View file @
ebaf4dd5
...
...
@@ -225,7 +225,7 @@ typedef struct _CONTEXT_FUNCS
AddFunc
addContext
;
EnumFunc
enumContext
;
DeleteFunc
deleteContext
;
}
CONTEXT_FUNCS
,
*
PCONTEXT_FUNCS
;
}
CONTEXT_FUNCS
;
typedef
enum
_CertStoreType
{
StoreTypeMem
,
...
...
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