Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 4721 of file main.c.
Referenced by import_store(), and import_validate_filename().
{ BOOL ret; if (dwFlags & (CRYPTUI_WIZ_IMPORT_ALLOW_CERT | CRYPTUI_WIZ_IMPORT_ALLOW_CRL | CRYPTUI_WIZ_IMPORT_ALLOW_CTL)) { PCCERT_CONTEXT cert; PCCRL_CONTEXT crl; PCCTL_CONTEXT ctl; ret = TRUE; if ((cert = CertEnumCertificatesInStore(store, NULL))) { CertFreeCertificateContext(cert); if (!(dwFlags & CRYPTUI_WIZ_IMPORT_ALLOW_CERT)) ret = FALSE; } if (ret && (crl = CertEnumCRLsInStore(store, NULL))) { CertFreeCRLContext(crl); if (!(dwFlags & CRYPTUI_WIZ_IMPORT_ALLOW_CRL)) ret = FALSE; } if (ret && (ctl = CertEnumCTLsInStore(store, NULL))) { CertFreeCTLContext(ctl); if (!(dwFlags & CRYPTUI_WIZ_IMPORT_ALLOW_CTL)) ret = FALSE; } } else ret = TRUE; if (!ret) SetLastError(E_INVALIDARG); return ret; }