Mounir IDRASSI : crypt32: Stub implementation of
CertGetCertificateChain.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon May 14 10:52:40 CDT 2007
Module: wine
Branch: master
Commit: 7abb204a1baca28aedf5edd91b070d474c6cdf88
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7abb204a1baca28aedf5edd91b070d474c6cdf88
Author: Mounir IDRASSI <mounir.idrassi at idrix.fr>
Date: Mon May 14 02:23:50 2007 +0200
crypt32: Stub implementation of CertGetCertificateChain.
---
dlls/crypt32/cert.c | 12 ++++++++++++
dlls/crypt32/crypt32.spec | 2 +-
2 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/cert.c b/dlls/crypt32/cert.c
index 3912447..100abaa 100644
--- a/dlls/crypt32/cert.c
+++ b/dlls/crypt32/cert.c
@@ -2275,3 +2275,15 @@ PCCERT_CONTEXT WINAPI CertCreateSelfSignCertificate(HCRYPTPROV hProv,
CryptReleaseContext(hProv, 0);
return context;
}
+
+BOOL WINAPI CertGetCertificateChain(HCERTCHAINENGINE hChainEngine,
+ PCCERT_CONTEXT pCertContext, LPFILETIME pTime, HCERTSTORE hAdditionalStore,
+ PCERT_CHAIN_PARA pChainPara, DWORD dwFlags, LPVOID pvReserved,
+ PCCERT_CHAIN_CONTEXT* ppChainContext)
+{
+ FIXME(" %p %p %p %p %p 0x%08X %p %p - stub\n",hChainEngine, pCertContext,
+ pTime, hAdditionalStore, pChainPara, dwFlags, pvReserved, ppChainContext);
+
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec
index d8bb091..a3e3039 100644
--- a/dlls/crypt32/crypt32.spec
+++ b/dlls/crypt32/crypt32.spec
@@ -51,7 +51,7 @@
@ stdcall CertGetCRLContextProperty(ptr long ptr ptr)
@ stdcall CertGetCRLFromStore(ptr ptr ptr ptr)
@ stdcall CertGetCTLContextProperty(ptr long ptr ptr)
-@ stub CertGetCertificateChain
+@ stdcall CertGetCertificateChain(ptr ptr ptr ptr ptr long ptr ptr)
@ stdcall CertGetCertificateContextProperty(ptr long ptr ptr)
@ stdcall CertGetEnhancedKeyUsage(ptr long ptr ptr)
@ stub CertGetIntendedKeyUsage
More information about the wine-cvs
mailing list