Project

General

Profile

Bug #12069 ยป 0001-document-OpenSSL-SSL-SSLContext-setup-as-MT-unsafe.patch

normalperson (Eric Wong), 02/14/2016 11:09 AM

View differences:

ext/openssl/ossl_ssl.c
* ctx.setup => nil # thereafter
*
* This method is called automatically when a new SSLSocket is created.
* Normally you do not need to call this method (unless you are writing an
* extension in C).
* However, it is not thread-safe and must be called before creating
* SSLSockets in a multi-threaded program.
*/
static VALUE
ossl_sslctx_setup(VALUE self)
-
    (1-1/1)