crypt32: Implement CertDuplicateCertificateChain.

This commit is contained in:
Juan Lang 2007-08-30 17:53:19 -07:00 committed by Alexandre Julliard
parent 3ef4c7e1cc
commit 51a9d208ee
2 changed files with 13 additions and 0 deletions

View File

@ -482,6 +482,18 @@ static void CRYPT_FreeChainContext(PCertificateChain chain)
CryptMemFree(chain);
}
PCCERT_CHAIN_CONTEXT WINAPI CertDuplicateCertificateChain(
PCCERT_CHAIN_CONTEXT pChainContext)
{
PCertificateChain chain = (PCertificateChain)pChainContext;
TRACE("(%p)\n", pChainContext);
if (chain)
InterlockedIncrement(&chain->ref);
return pChainContext;
}
void WINAPI CertFreeCertificateChain(PCCERT_CHAIN_CONTEXT pChainContext)
{
PCertificateChain chain = (PCertificateChain)pChainContext;

View File

@ -26,6 +26,7 @@
@ stdcall CertDeleteCertificateFromStore(ptr)
@ stdcall CertDuplicateCRLContext(ptr)
@ stdcall CertDuplicateCTLContext(ptr)
@ stdcall CertDuplicateCertificateChain(ptr)
@ stdcall CertDuplicateCertificateContext(ptr)
@ stdcall CertDuplicateStore(ptr)
@ stdcall CertEnumCRLContextProperties(ptr long)