I'm also going to send those patches to upstream... watch openssl-dev mailing list.
openssl: some thread safety improvements
* BIO: add BIO_TYPE_NO_EX_DATA option to allow constructing BIOs without
* CRYPTO: CRYPTO_add_lock should use atomic instructions where possible
Also, it would be good to backport that to v0.8 ... /cc @isaacs
Fedor, I think posting some benchmark numbers to openssl-dev will help your case.
Not relevant anymore, guy on openssl-dev@ shown me a better way to do this stuff.