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
c6fd036b
Commit
c6fd036b
authored
Oct 08, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Get rid of no longer used contextSize argument in Context_GetProperties.
parent
5b5bb508
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
21 deletions
+13
-21
cert.c
dlls/crypt32/cert.c
+3
-6
context.c
dlls/crypt32/context.c
+3
-3
crl.c
dlls/crypt32/crl.c
+3
-6
crypt32_private.h
dlls/crypt32/crypt32_private.h
+1
-1
ctl.c
dlls/crypt32/ctl.c
+3
-5
No files found.
dlls/crypt32/cert.c
View file @
c6fd036b
...
...
@@ -211,8 +211,7 @@ BOOL WINAPI CertFreeCertificateContext(PCCERT_CONTEXT pCertContext)
DWORD
WINAPI
CertEnumCertificateContextProperties
(
PCCERT_CONTEXT
pCertContext
,
DWORD
dwPropId
)
{
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
pCertContext
,
sizeof
(
CERT_CONTEXT
));
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
pCertContext
);
DWORD
ret
;
TRACE
(
"(%p, %d)
\n
"
,
pCertContext
,
dwPropId
);
...
...
@@ -264,8 +263,7 @@ static BOOL CertContext_GetProperty(void *context, DWORD dwPropId,
void
*
pvData
,
DWORD
*
pcbData
)
{
PCCERT_CONTEXT
pCertContext
=
context
;
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
context
,
sizeof
(
CERT_CONTEXT
));
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
context
);
BOOL
ret
;
CRYPT_DATA_BLOB
blob
;
...
...
@@ -515,8 +513,7 @@ static BOOL CertContext_SetKeyProvInfoProperty(CONTEXT_PROPERTY_LIST *properties
static
BOOL
CertContext_SetProperty
(
void
*
context
,
DWORD
dwPropId
,
DWORD
dwFlags
,
const
void
*
pvData
)
{
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
context
,
sizeof
(
CERT_CONTEXT
));
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
context
);
BOOL
ret
;
TRACE
(
"(%p, %d, %08x, %p)
\n
"
,
context
,
dwPropId
,
dwFlags
,
pvData
);
...
...
dlls/crypt32/context.c
View file @
c6fd036b
...
...
@@ -131,7 +131,7 @@ void *Context_GetLinkedContext(void *context)
return
CONTEXT_FROM_BASE_CONTEXT
(
baseContext
->
u
.
linked
);
}
CONTEXT_PROPERTY_LIST
*
Context_GetProperties
(
const
void
*
context
,
size_t
contextSize
)
CONTEXT_PROPERTY_LIST
*
Context_GetProperties
(
const
void
*
context
)
{
BASE_CONTEXT
*
ptr
=
BASE_CONTEXT_FROM_CONTEXT
(
context
);
...
...
@@ -180,8 +180,8 @@ void Context_CopyProperties(const void *to, const void *from,
{
CONTEXT_PROPERTY_LIST
*
toProperties
,
*
fromProperties
;
toProperties
=
Context_GetProperties
(
to
,
contextSize
);
fromProperties
=
Context_GetProperties
(
from
,
contextSize
);
toProperties
=
Context_GetProperties
(
to
);
fromProperties
=
Context_GetProperties
(
from
);
assert
(
toProperties
&&
fromProperties
);
ContextPropertyList_Copy
(
toProperties
,
fromProperties
);
}
...
...
dlls/crypt32/crl.c
View file @
c6fd036b
...
...
@@ -354,8 +354,7 @@ BOOL WINAPI CertFreeCRLContext( PCCRL_CONTEXT pCrlContext)
DWORD
WINAPI
CertEnumCRLContextProperties
(
PCCRL_CONTEXT
pCRLContext
,
DWORD
dwPropId
)
{
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
pCRLContext
,
sizeof
(
CRL_CONTEXT
));
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
pCRLContext
);
DWORD
ret
;
TRACE
(
"(%p, %d)
\n
"
,
pCRLContext
,
dwPropId
);
...
...
@@ -388,8 +387,7 @@ static BOOL CRLContext_GetHashProp(PCCRL_CONTEXT context, DWORD dwPropId,
static
BOOL
CRLContext_GetProperty
(
PCCRL_CONTEXT
context
,
DWORD
dwPropId
,
void
*
pvData
,
DWORD
*
pcbData
)
{
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
context
,
sizeof
(
CRL_CONTEXT
));
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
context
);
BOOL
ret
;
CRYPT_DATA_BLOB
blob
;
...
...
@@ -488,8 +486,7 @@ BOOL WINAPI CertGetCRLContextProperty(PCCRL_CONTEXT pCRLContext,
static
BOOL
CRLContext_SetProperty
(
PCCRL_CONTEXT
context
,
DWORD
dwPropId
,
DWORD
dwFlags
,
const
void
*
pvData
)
{
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
context
,
sizeof
(
CRL_CONTEXT
));
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
context
);
BOOL
ret
;
TRACE
(
"(%p, %d, %08x, %p)
\n
"
,
context
,
dwPropId
,
dwFlags
,
pvData
);
...
...
dlls/crypt32/crypt32_private.h
View file @
c6fd036b
...
...
@@ -357,7 +357,7 @@ void Context_CopyProperties(const void *to, const void *from,
/* Returns context's properties, or the linked context's properties if context
* is a link context.
*/
CONTEXT_PROPERTY_LIST
*
Context_GetProperties
(
const
void
*
context
,
size_t
contextSize
)
DECLSPEC_HIDDEN
;
CONTEXT_PROPERTY_LIST
*
Context_GetProperties
(
const
void
*
context
)
DECLSPEC_HIDDEN
;
void
Context_AddRef
(
void
*
context
)
DECLSPEC_HIDDEN
;
...
...
dlls/crypt32/ctl.c
View file @
c6fd036b
...
...
@@ -489,8 +489,7 @@ BOOL WINAPI CertFreeCTLContext(PCCTL_CONTEXT pCTLContext)
DWORD
WINAPI
CertEnumCTLContextProperties
(
PCCTL_CONTEXT
pCTLContext
,
DWORD
dwPropId
)
{
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
pCTLContext
,
sizeof
(
CTL_CONTEXT
));
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
pCTLContext
);
DWORD
ret
;
TRACE
(
"(%p, %d)
\n
"
,
pCTLContext
,
dwPropId
);
...
...
@@ -523,8 +522,7 @@ static BOOL CTLContext_GetHashProp(PCCTL_CONTEXT context, DWORD dwPropId,
static
BOOL
CTLContext_GetProperty
(
PCCTL_CONTEXT
context
,
DWORD
dwPropId
,
void
*
pvData
,
DWORD
*
pcbData
)
{
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
context
,
sizeof
(
CTL_CONTEXT
));
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
context
);
BOOL
ret
;
CRYPT_DATA_BLOB
blob
;
...
...
@@ -621,7 +619,7 @@ BOOL WINAPI CertGetCTLContextProperty(PCCTL_CONTEXT pCTLContext,
static
BOOL
CTLContext_SetProperty
(
PCCTL_CONTEXT
context
,
DWORD
dwPropId
,
DWORD
dwFlags
,
const
void
*
pvData
)
{
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
context
,
sizeof
(
CTL_CONTEXT
)
);
CONTEXT_PROPERTY_LIST
*
properties
=
Context_GetProperties
(
context
);
BOOL
ret
;
TRACE
(
"(%p, %d, %08x, %p)
\n
"
,
context
,
dwPropId
,
dwFlags
,
pvData
);
...
...
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