Project

General

Profile

Actions

Bug #12069

closed

[PATCH] document OpenSSL::SSL::SSLContext#setup as MT-unsafe

Added by normalperson (Eric Wong) about 8 years ago. Updated about 8 years ago.

Status:
Closed
Assignee:
Target version:
-
[ruby-core:73803]

Description

document OpenSSL::SSL::SSLContext#setup as MT-unsafe

On a cursory inspection, using rb_block_call for extra_chain_cert
is thread-unsafe. There may be other instances of thread-unsafe
behavior in this method, but one is enough.

  • ext/openssl/ossl_ssl.c (ossl_sslctx_setup): document as MT-unsafe

Files

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0