I have a patch for crypt32. I'd appreciate your review before I submit
it to Wine. It has high potential to be insecure... This should fix Wine
bug 28004 as well as some websites that don't send full cert chain in
SSL/TLS handshake, but instead just their own certs. For that we need
two changes. First, we need to look for issuers in global stores (as in
those that are not passed to CertGetCertificateChain). When I did that,
it came out that it's not enough for intermediate issuers. Those have to
be downloaded if we have information about their location stored in
validated cert. That's easy using cryptnet. Could you please review the
attached patch?
The thing that would be also nice to have as follow up is to cache
downloaded URLs. They are already cached in URL cache, but I believe
that they should be also cached in some place like world collection or
something like that. I'm not sure what would be appropriate. Do you have
a suggestion?