mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
wintrust: Implement WTHelperGetProvSignerFromChain.
This commit is contained in:
parent
2e72e102a6
commit
0823c4fc61
@ -105,9 +105,23 @@ CRYPT_PROVIDER_SGNR * WINAPI WTHelperGetProvSignerFromChain(
|
||||
CRYPT_PROVIDER_DATA *pProvData, DWORD idxSigner, BOOL fCounterSigner,
|
||||
DWORD idxCounterSigner)
|
||||
{
|
||||
FIXME("%p %d %d %d\n", pProvData, idxSigner, fCounterSigner,
|
||||
CRYPT_PROVIDER_SGNR *sgnr;
|
||||
|
||||
TRACE("(%p %d %d %d)\n", pProvData, idxSigner, fCounterSigner,
|
||||
idxCounterSigner);
|
||||
|
||||
if (idxSigner >= pProvData->csSigners || !pProvData->pasSigners)
|
||||
return NULL;
|
||||
sgnr = &pProvData->pasSigners[idxSigner];
|
||||
if (fCounterSigner)
|
||||
{
|
||||
if (idxCounterSigner >= sgnr->csCounterSigners ||
|
||||
!sgnr->pasCounterSigners)
|
||||
return NULL;
|
||||
sgnr = &sgnr->pasCounterSigners[idxCounterSigner];
|
||||
}
|
||||
TRACE("returning %p\n", sgnr);
|
||||
return sgnr;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user