mirror of
https://github.com/reactos/wine.git
synced 2025-05-13 10:56:08 +00:00
wintrust: Use verify time rather than current time to check certificate chain.
This commit is contained in:
parent
b78c69dd4b
commit
4089be2588
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user