crypt32: Get rid of no longer used contextSize argument in Context_AddRef.
This commit is contained in:
parent
ad912961db
commit
f82237102b
|
@ -184,7 +184,7 @@ PCCERT_CONTEXT WINAPI CertDuplicateCertificateContext(
|
|||
if (!pCertContext)
|
||||
return NULL;
|
||||
|
||||
Context_AddRef((void *)pCertContext, sizeof(CERT_CONTEXT));
|
||||
Context_AddRef((void *)pCertContext);
|
||||
return pCertContext;
|
||||
}
|
||||
|
||||
|
|
|
@ -81,13 +81,13 @@ void *Context_CreateLinkContext(unsigned int contextSize, void *linked, unsigned
|
|||
context->type = ContextTypeLink;
|
||||
context->u.linked = BASE_CONTEXT_FROM_CONTEXT(linked);
|
||||
if (addRef)
|
||||
Context_AddRef(linked, contextSize);
|
||||
Context_AddRef(linked);
|
||||
|
||||
TRACE("returning %p\n", context);
|
||||
return CONTEXT_FROM_BASE_CONTEXT(context);
|
||||
}
|
||||
|
||||
void Context_AddRef(void *context, size_t contextSize)
|
||||
void Context_AddRef(void *context)
|
||||
{
|
||||
BASE_CONTEXT *baseContext = BASE_CONTEXT_FROM_CONTEXT(context);
|
||||
|
||||
|
|
|
@ -327,7 +327,7 @@ PCCRL_CONTEXT WINAPI CertDuplicateCRLContext(PCCRL_CONTEXT pCrlContext)
|
|||
{
|
||||
TRACE("(%p)\n", pCrlContext);
|
||||
if (pCrlContext)
|
||||
Context_AddRef((void *)pCrlContext, sizeof(CRL_CONTEXT));
|
||||
Context_AddRef((void *)pCrlContext);
|
||||
return pCrlContext;
|
||||
}
|
||||
|
||||
|
|
|
@ -359,7 +359,7 @@ void Context_CopyProperties(const void *to, const void *from,
|
|||
*/
|
||||
CONTEXT_PROPERTY_LIST *Context_GetProperties(const void *context, size_t contextSize) DECLSPEC_HIDDEN;
|
||||
|
||||
void Context_AddRef(void *context, size_t contextSize) DECLSPEC_HIDDEN;
|
||||
void Context_AddRef(void *context) DECLSPEC_HIDDEN;
|
||||
|
||||
typedef void (*ContextFreeFunc)(void *context);
|
||||
|
||||
|
|
|
@ -460,7 +460,7 @@ PCCTL_CONTEXT WINAPI CertDuplicateCTLContext(PCCTL_CONTEXT pCtlContext)
|
|||
{
|
||||
TRACE("(%p)\n", pCtlContext);
|
||||
if (pCtlContext)
|
||||
Context_AddRef((void *)pCtlContext, sizeof(CTL_CONTEXT));
|
||||
Context_AddRef((void *)pCtlContext);
|
||||
return pCtlContext;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue