crypt32: Set output chain to NULL.
This commit is contained in:
parent
466d8a01a5
commit
0b2b1f8881
|
@ -180,6 +180,8 @@ BOOL WINAPI CertGetCertificateChain(HCERTCHAINENGINE hChainEngine,
|
||||||
pCertContext, pTime, hAdditionalStore, pChainPara, dwFlags, pvReserved,
|
pCertContext, pTime, hAdditionalStore, pChainPara, dwFlags, pvReserved,
|
||||||
ppChainContext);
|
ppChainContext);
|
||||||
|
|
||||||
|
if (ppChainContext)
|
||||||
|
*ppChainContext = NULL;
|
||||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue