Juan Lang : crypt32: Set output chain to NULL.
Module: wine Branch: master Commit: 0b2b1f88818c19bb58c26c748e0475aa51e51501 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0b2b1f88818c19bb58c26c748e... Author: Juan Lang <juan.lang(a)gmail.com> Date: Tue Aug 14 14:35:31 2007 -0700 crypt32: Set output chain to NULL. --- dlls/crypt32/chain.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c index a244715..127739a 100644 --- a/dlls/crypt32/chain.c +++ b/dlls/crypt32/chain.c @@ -180,6 +180,8 @@ BOOL WINAPI CertGetCertificateChain(HCERTCHAINENGINE hChainEngine, pCertContext, pTime, hAdditionalStore, pChainPara, dwFlags, pvReserved, ppChainContext); + if (ppChainContext) + *ppChainContext = NULL; SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return FALSE; }
participants (1)
-
Alexandre Julliard