[PATCH 0/2] MR10347: include: Update definition of CERT_CHAIN_ENGINE_CONFIG.
From: Hans Leidekker <hans@codeweavers.com> And fix spelling of hExclusiveTrustedPeople. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59531 --- include/wincrypt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wincrypt.h b/include/wincrypt.h index e3a7ad0eb24..9c42586700f 100644 --- a/include/wincrypt.h +++ b/include/wincrypt.h @@ -3497,7 +3497,8 @@ typedef struct _CERT_CHAIN_ENGINE_CONFIG DWORD MaximumCachedCertificates; DWORD CycleDetectionModulus; HCERTSTORE hExclusiveRoot; - HCERTSTORE hExclusiveRootTrustedPeople; + HCERTSTORE hExclusiveTrustedPeople; + DWORD dwExclusiveFlags; } CERT_CHAIN_ENGINE_CONFIG, *PCERT_CHAIN_ENGINE_CONFIG; /* message-related definitions */ -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10347
From: Hans Leidekker <hans@codeweavers.com> --- dlls/crypt32/chain.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dlls/crypt32/chain.c b/dlls/crypt32/chain.c index 1b38e789f15..6e0e55b9e5a 100644 --- a/dlls/crypt32/chain.c +++ b/dlls/crypt32/chain.c @@ -227,6 +227,19 @@ BOOL WINAPI CertCreateCertificateChainEngine(PCERT_CHAIN_ENGINE_CONFIG pConfig, BOOL ret; TRACE("(%p, %p)\n", pConfig, phChainEngine); + TRACE("cbSize %lu\n", pConfig->cbSize); + TRACE("hRestrictedRoot %p\n", pConfig->hRestrictedRoot); + TRACE("hRestrictedTrust %p\n", pConfig->hRestrictedTrust); + TRACE("hRestrictedOther %p\n", pConfig->hRestrictedOther); + TRACE("cAdditionalStore %lu\n", pConfig->cAdditionalStore); + TRACE("dwFlags %lx\n", pConfig->dwFlags); + TRACE("dwUrlRetrievalTimeout %lu\n", pConfig->dwUrlRetrievalTimeout); + TRACE("MaximumCachedCertificates %lu\n", pConfig->MaximumCachedCertificates); + TRACE("CycleDetectionModulus %lu\n", pConfig->CycleDetectionModulus); + TRACE("hExclusiveRoot %p\n", pConfig->hExclusiveRoot); + TRACE("hExclusiveTrustedPeople %p\n", pConfig->hExclusiveTrustedPeople); + TRACE("dwExclusiveFlags %lx\n", pConfig->dwExclusiveFlags); + if (pConfig->dwExclusiveFlags) FIXME("dwExclusiveFlags %lx not supported\n", pConfig->dwExclusiveFlags); if (pConfig->cbSize != sizeof(CERT_CHAIN_ENGINE_CONFIG_NO_EXCLUSIVE_ROOT) && pConfig->cbSize != sizeof(CERT_CHAIN_ENGINE_CONFIG)) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10347
participants (2)
-
Hans Leidekker -
Hans Leidekker (@hans)