Module: wine Branch: master Commit: 3eb62ad60bfc08691f59b357e5167958f5a3c4a6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3eb62ad60bfc08691f59b357e5...
Author: Juan Lang juan.lang@gmail.com Date: Fri Aug 29 07:30:45 2008 -0700
crypt32: Implement CertDuplicateCTLContext.
---
dlls/crypt32/ctl.c | 7 +++++++ dlls/crypt32/store.c | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/dlls/crypt32/ctl.c b/dlls/crypt32/ctl.c index 2a5b468..1513287 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 a3bd06b..ff95a97 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);