crypt32: Implement CertDuplicateCertificateChain.
This commit is contained in:
parent
3ef4c7e1cc
commit
51a9d208ee
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue