From 91c76955e7db93606f3e8a92ba844fe618c11745 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Mon, 10 Sep 2007 16:10:35 -0700 Subject: [PATCH] crypt32: Add a stub for CertVerifyCertificateChainPolicy. --- dlls/crypt32/chain.c | 9 +++++++++ dlls/crypt32/crypt32.spec | 1 + 2 files changed, 10 insertions(+) diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c index 10997afc665..7b6d7bd70c3 100644 --- a/dlls/crypt32/chain.c +++ b/dlls/crypt32/chain.c @@ -1020,3 +1020,12 @@ void WINAPI CertFreeCertificateChain(PCCERT_CHAIN_CONTEXT pChainContext) CRYPT_FreeChainContext(chain); } } + +BOOL WINAPI CertVerifyCertificateChainPolicy(LPCSTR szPolicyOID, + PCCERT_CHAIN_CONTEXT pChainContext, PCERT_CHAIN_POLICY_PARA pPolicyPara, + PCERT_CHAIN_POLICY_STATUS pPolicyStatus) +{ + FIXME("(%s, %p, %p, %p): stub\n", debugstr_a(szPolicyOID), pChainContext, + pPolicyPara, pPolicyStatus); + return FALSE; +} diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec index e16b3ae67d3..ac706c7646d 100644 --- a/dlls/crypt32/crypt32.spec +++ b/dlls/crypt32/crypt32.spec @@ -86,6 +86,7 @@ @ stdcall CertSetStoreProperty(ptr long long ptr) @ stdcall CertStrToNameA(long str long ptr ptr ptr ptr) @ stdcall CertStrToNameW(long wstr long ptr ptr ptr ptr) +@ stdcall CertVerifyCertificateChainPolicy(str ptr ptr ptr) @ stdcall CertVerifyCRLRevocation(long ptr long ptr) @ stdcall CertVerifyCRLTimeValidity(ptr ptr) @ stub CertVerifyCTLUsage