diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-26 01:29:02 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-26 01:29:02 +0000 |
commit | 15543bab14e7ed3c3d87c92195a531cfd1cc8884 (patch) | |
tree | 698a9813ea9975a329550ce2eb51eed08c21df8e /vm_method.c | |
parent | 7dd24b438dbc3b4258b519e58816cfbd974c9898 (diff) | |
download | ruby-15543bab14e7ed3c3d87c92195a531cfd1cc8884.tar.gz |
* ext/openssl/ossl_ssl.c (ossl_call_servername_cb): set the ssl context
object returned by the servername callback on to the socket as an
instance variable. If the callback allocated a new context object
and didn't keep a reference to it, it could be GC'd out from under
the socket object.
* test/openssl/test_ssl.rb (class OpenSSL): test for change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_method.c')
0 files changed, 0 insertions, 0 deletions