wintrust: Use verify time rather than current time to check certificate chain.

This commit is contained in:
Juan Lang 2007-10-03 12:02:54 -07:00 committed by Alexandre Julliard
parent b78c69dd4b
commit 4089be2588
1 changed files with 1 additions and 1 deletions

View File

@ -612,7 +612,7 @@ HRESULT WINAPI WintrustCertificateTrust(CRYPT_PROVIDER_DATA *data)
/* Create a certificate chain for each signer */
ret = CertGetCertificateChain(NULL,
data->pasSigners[i].pasCertChain[0].pCert,
NULL, /* FIXME: use data->pasSigners[i].sftVerifyAsOf? */
&data->pasSigners[i].sftVerifyAsOf,
data->chStores ? data->pahStores[0] : NULL,
&chainPara, flags, NULL, &data->pasSigners[i].pChainContext);
if (ret)