http://bugs.winehq.org/show_bug.cgi?id=30931
--- Comment #7 from teg@djii.com 2012-06-17 15:59:39 CDT ---
1 - If by threading change, you mean the fact that Newsbin has to supply a bunch of mutexes to OpenSSL (which did bite me on the ass). It's already implementing that change internally. OpenSSL calls up and I then generate the N mutexes it requests
2 -
OK Fix Use this echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope
The fix that makes it work is completely unrelated to SSL version. I think the real question is, how does enabling ptrace security interfere with OpenSSL under wine. Is wine using ptrace to patch the application in memory or monitor what it's doing? Is it used to implement SEH (structured exception handling) for instance?
In a nutshell, disabling ptrace security allows OpenSSL to work. That suggests that ptrace is being used to do something. I don't know anything about wine internals so I can't guess what. Why only SSL too? Why do normal TCP connections work but, SSL connections don't?