crypt32: Implement CertDuplicateCertificateChain.
This commit is contained in:
parent
3ef4c7e1cc
commit
51a9d208ee
@ -482,6 +482,18 @@ static void CRYPT_FreeChainContext(PCertificateChain chain)
|
|||||||
CryptMemFree(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)
|
void WINAPI CertFreeCertificateChain(PCCERT_CHAIN_CONTEXT pChainContext)
|
||||||
{
|
{
|
||||||
PCertificateChain chain = (PCertificateChain)pChainContext;
|
PCertificateChain chain = (PCertificateChain)pChainContext;
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
@ stdcall CertDeleteCertificateFromStore(ptr)
|
@ stdcall CertDeleteCertificateFromStore(ptr)
|
||||||
@ stdcall CertDuplicateCRLContext(ptr)
|
@ stdcall CertDuplicateCRLContext(ptr)
|
||||||
@ stdcall CertDuplicateCTLContext(ptr)
|
@ stdcall CertDuplicateCTLContext(ptr)
|
||||||
|
@ stdcall CertDuplicateCertificateChain(ptr)
|
||||||
@ stdcall CertDuplicateCertificateContext(ptr)
|
@ stdcall CertDuplicateCertificateContext(ptr)
|
||||||
@ stdcall CertDuplicateStore(ptr)
|
@ stdcall CertDuplicateStore(ptr)
|
||||||
@ stdcall CertEnumCRLContextProperties(ptr long)
|
@ stdcall CertEnumCRLContextProperties(ptr long)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user