mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 22:28:30 +00:00
winhttp: Verify revocation status of certificate chain.
This commit is contained in:
parent
fa4c8c0900
commit
55aae25d35
|
@ -273,7 +273,8 @@ static DWORD netconn_verify_cert( PCCERT_CONTEXT cert, HCERTSTORE store,
|
|||
TRACE("verifying %s\n", debugstr_w( server ));
|
||||
chainPara.RequestedUsage.Usage.cUsageIdentifier = 1;
|
||||
chainPara.RequestedUsage.Usage.rgpszUsageIdentifier = server_auth;
|
||||
if ((ret = CertGetCertificateChain( NULL, cert, NULL, store, &chainPara, 0,
|
||||
if ((ret = CertGetCertificateChain( NULL, cert, NULL, store, &chainPara,
|
||||
CERT_CHAIN_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT,
|
||||
NULL, &chain )))
|
||||
{
|
||||
if (chain->TrustStatus.dwErrorStatus)
|
||||
|
|
Loading…
Reference in a new issue