crypt32: Set output chain to NULL.

This commit is contained in:
Juan Lang 2007-08-14 14:35:31 -07:00 committed by Alexandre Julliard
parent 466d8a01a5
commit 0b2b1f8881
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}