mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
cryptdlg: Fix copy-paste error (coverity).
This commit is contained in:
parent
31ca59f0b5
commit
a8125d6efd
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ static HCERTCHAINENGINE CRYPTDLG_MakeEngine(CERT_VERIFY_CERTIFICATE_TRUST *cert)
|
|||
{
|
||||
trust = CertOpenStore(CERT_STORE_PROV_COLLECTION, 0, 0,
|
||||
CERT_STORE_CREATE_NEW_FLAG, NULL);
|
||||
if (root)
|
||||
if (trust)
|
||||
{
|
||||
for (i = 0; i < cert->cTrustStores; i++)
|
||||
CertAddStoreToCollection(trust, cert->rghstoreTrust[i], 0, 0);
|
||||
|
|
Loading…
Reference in a new issue