diff --git a/dlls/crypt32/ctl.c b/dlls/crypt32/ctl.c index 2a5b46849f5..15132874923 100644 --- a/dlls/crypt32/ctl.c +++ b/dlls/crypt32/ctl.c @@ -156,6 +156,13 @@ end: return (PCCTL_CONTEXT)ctl; } +PCCTL_CONTEXT WINAPI CertDuplicateCTLContext(PCCTL_CONTEXT pCtlContext) +{ + TRACE("(%p)\n", pCtlContext); + Context_AddRef((void *)pCtlContext, sizeof(CTL_CONTEXT)); + return pCtlContext; +} + static void CTLDataContext_Free(void *context) { PCTL_CONTEXT ctlContext = (PCTL_CONTEXT)context; diff --git a/dlls/crypt32/store.c b/dlls/crypt32/store.c index a3bd06b4527..ff95a975c99 100644 --- a/dlls/crypt32/store.c +++ b/dlls/crypt32/store.c @@ -1062,12 +1062,6 @@ BOOL WINAPI CertAddCTLContextToStore(HCERTSTORE hCertStore, return TRUE; } -PCCTL_CONTEXT WINAPI CertDuplicateCTLContext(PCCTL_CONTEXT pCtlContext) -{ - FIXME("(%p): stub\n", pCtlContext ); - return pCtlContext; -} - BOOL WINAPI CertDeleteCTLFromStore(PCCTL_CONTEXT pCtlContext) { FIXME("(%p): stub\n", pCtlContext);