1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/openssl
tenderlove 86ff702957 * 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
2015-07-26 01:29:02 +00:00
..
lib * ext/openssl/lib/openssl/pkey.rb: implement DEFAULT_512 and 2015-07-25 23:35:49 +00:00
depend Update dependencies. 2014-12-19 13:34:54 +00:00
deprecation.rb
extconf.rb * ext/openssl/ossl_ssl.c: add ALPN support. [Feature #9390] 2015-07-22 18:31:42 +00:00
openssl_missing.c * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
openssl_missing.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl.c * ext/openssl/ossl.c: [DOC] Backport ruby/openssl@dbb3fdb [Bug #11345] 2015-07-12 16:41:32 +00:00
ossl.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_asn1.c openssl: use RB_GC_GUARD instead of volatile 2015-05-27 01:09:11 +00:00
ossl_asn1.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_bio.c * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_bio.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_bn.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_bn.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_cipher.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_cipher.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_config.c * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_config.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_digest.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_digest.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_engine.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_engine.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_hmac.c * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_hmac.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_ns_spki.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_ns_spki.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_ocsp.c * ext/openssl/ossl_ocsp.c: fix documentation on ocsp response cert status. 2015-06-13 02:38:46 +00:00
ossl_ocsp.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_pkcs5.c
ossl_pkcs5.h
ossl_pkcs7.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_pkcs7.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_pkcs12.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_pkcs12.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_pkey.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_pkey.h * ext/openssl/lib/openssl/ssl.rb (module OpenSSL): move the default 2015-07-25 22:51:20 +00:00
ossl_pkey_dh.c * ext/openssl/lib/openssl/pkey.rb: implement DEFAULT_512 and 2015-07-25 23:35:49 +00:00
ossl_pkey_dsa.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_pkey_ec.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_pkey_rsa.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_rand.c * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_rand.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_ssl.c * ext/openssl/ossl_ssl.c (ossl_call_servername_cb): set the ssl context 2015-07-26 01:29:02 +00:00
ossl_ssl.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_ssl_session.c * ext/openssl/ossl.h: avoid to build failure of Windows environment. 2015-01-03 02:50:31 +00:00
ossl_version.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_x509.c * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_x509.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00
ossl_x509attr.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_x509cert.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_x509crl.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_x509ext.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_x509name.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_x509req.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_x509revoked.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ossl_x509store.c openssl: wrapper object before alloc 2015-05-29 05:55:02 +00:00
ruby_missing.h * ext/openssl/*: use license instead of licence. 2015-04-20 03:55:09 +00:00