http://bugs.winehq.org/show_bug.cgi?id=27168
--- Comment #33 from Juan Lang juan_lang@yahoo.com 2011-09-22 15:24:11 CDT --- Out of curiosity, I wrote a brief test for the cert store that a cert created via CertCreateCertificateContext has; see commit 546bfa2c1ce82f80613cce7870d306faf2de653a. It appears as though the cert isn't actually in this store, so somehow the cert contains a reference to the store even though it isn't part of it.
I'd like to add similar tests when verifying a chain, as I think they might help persuade us a little more about the behavior of schannel with respect to certs and stores. Is this something special that schannel is supposed to be doing, or is it implicit in its use of crypt32? That's what I'd like to try to find out.