Bug #12069 ยป 0001-document-OpenSSL-SSL-SSLContext-setup-as-MT-unsafe.patch
| 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)
|
||
|
-
|
||