diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-25 09:36:13 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-25 09:36:13 +0000 |
commit | 32299d987b69d02cdd3ca4a8c33c68233cfad4cd (patch) | |
tree | 9c56db91c07ec813b82fba60b9e0bf0c71e73c49 | |
parent | 3e98a6494b35d2030ac2b4837a51d7e22d3d22a5 (diff) |
merge revision(s) 54097: [Backport #12069]
* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): document as MT-unsafe
[ruby-core:73803] [Bug #12069]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/openssl/ossl_ssl.c | 4 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Fri Mar 25 18:36:04 2016 Eric Wong <e@80x24.org> + + * ext/openssl/ossl_ssl.c (ossl_sslctx_setup): document as MT-unsafe + [ruby-core:73803] [Bug #12069] + Fri Mar 25 18:35:08 2016 CHIKANAGA Tomoyuki <nagachika@ruby-lang.org> * ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb: fix method name typo. diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c index 309657ce69..f8ea87288c 100644 --- a/ext/openssl/ossl_ssl.c +++ b/ext/openssl/ossl_ssl.c @@ -671,8 +671,8 @@ ssl_info_cb(const SSL *ssl, int where, int val) * 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 + * SSLSocket objects in a multi-threaded program. */ static VALUE ossl_sslctx_setup(VALUE self) @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.1.9" #define RUBY_RELEASE_DATE "2016-03-25" -#define RUBY_PATCHLEVEL 479 +#define RUBY_PATCHLEVEL 480 #define RUBY_RELEASE_YEAR 2016 #define RUBY_RELEASE_MONTH 3 |