crypt32: Get rid of no longer used contextSize argument in Context_AddRef.

This commit is contained in:
Jacek Caban 2013-10-08 16:24:00 +02:00 committed by Alexandre Julliard
parent ad912961db
commit f82237102b
5 changed files with 6 additions and 6 deletions

View File

@ -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;
}

View File

@ -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);

View File

@ -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;
}

View File

@ -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);

View File

@ -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;
}