wininet(1/7): Move initialization of SSL_CTX to library initialization time

Juan Lang juan.lang at gmail.com
Tue Sep 29 13:49:51 CDT 2009


The variable is static, so the repeated initialization is at least
wasteful, and potentially dangerous.  It's not that well protected
yet, as in a race condition it could be initialized twice, but it's
better than it was, and the race condition will be addressed in patch
4 of this series.
--Juan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Move-initialization-of-SSL_CTX-to-library-initializa.patch
Type: text/x-diff
Size: 1647 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090929/cac9742b/attachment.patch>


More information about the wine-patches mailing list