Juan Lang : wintrust: Use verify time rather than current time to check certificate chain.
Alexandre Julliard
julliard at winehq.org
Thu Oct 4 06:21:07 CDT 2007
Module: wine
Branch: master
Commit: 4089be258896e1e22f2cbf47828db44c935b87fc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4089be258896e1e22f2cbf47828db44c935b87fc
Author: Juan Lang <juan.lang at gmail.com>
Date: Wed Oct 3 12:02:54 2007 -0700
wintrust: Use verify time rather than current time to check certificate chain.
---
dlls/wintrust/softpub.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wintrust/softpub.c b/dlls/wintrust/softpub.c
index bef0775..87e5209 100644
--- a/dlls/wintrust/softpub.c
+++ b/dlls/wintrust/softpub.c
@@ -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)
More information about the wine-cvs
mailing list