http://bugs.winehq.org/show_bug.cgi?id=33742
--- Comment #37 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Juan Lang from comment #36)
Bruno, this patch looks plausible to me. It only needs a test case to show that it's correct. Maybe you could give that a go? I can try to take it on at some point, but my time for working on Wine has been severely limited of late, plus I don't want to take credit for the work you and AF have already done. Thanks!
Given the fact that I have no idea of what I've done I'm not able to create a test. I was blindly following AF notes. For example, I don't know how to create a root certificate and add it to the tests. And also how to add non-root certificates and ensure the old functionality was not affected. I think you can do it much faster than I so I would be happy if you take the patch.