Juan Lang : crypt32: Implement CertDuplicateCTLContext.

Alexandre Julliard julliard at winehq.org
Tue Sep 2 08:32:48 CDT 2008


Module: wine
Branch: master
Commit: 3eb62ad60bfc08691f59b357e5167958f5a3c4a6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3eb62ad60bfc08691f59b357e5167958f5a3c4a6

Author: Juan Lang <juan.lang at 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);




More information about the wine-cvs mailing list