1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/openssl
nagachika d1a33d8ec5 merge revision(s) 203b7fa1ae8cc40d41c38d684f70b3fea7fae813,0131fab749fb76800de09e49a6abf910201c5b58,9c0cd5c569ba22bc68d1a77ad6580a275cd99639,c144d7215b3444fa36d28d540b60170a5b30743d: [Backport #16196]
Guard static variable first

	* ext/openssl/ossl_asn1.c (Init_ossl_asn1): register the static
	  variable to grab an internal object, before creating the object.
	  otherwise the just-created object could get collected during the
	  global variable list allocation.  [Bug #16196]

	Slimed down test runtime by stressing openssl.so only [Bug #16196]


	Prefer rb_gc_register_mark_object

	* ext/openssl/ossl_asn1.c (Init_ossl_asn1): prefer
	  `rb_gc_register_mark_object`, which is better for constant
	  objects, over `rb_gc_register_address` for global/static
	  variables which can be re-assigned at runtime.  [Bug #16196]

	Skip very time consuming test [Bug #16196]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-12-15 08:12:17 +00:00
..
fixtures/pkey merge revision(s) 1e54903684: [Backport #16051] 2019-08-07 12:38:15 +00:00
test_asn1.rb merge revision(s) 203b7fa1ae8cc40d41c38d684f70b3fea7fae813,0131fab749fb76800de09e49a6abf910201c5b58,9c0cd5c569ba22bc68d1a77ad6580a275cd99639,c144d7215b3444fa36d28d540b60170a5b30743d: [Backport #16196] 2019-12-15 08:12:17 +00:00
test_bn.rb merge revision(s) 67497,67498: [Backport #15760] 2019-04-13 07:33:10 +00:00
test_buffering.rb
test_cipher.rb
test_config.rb
test_digest.rb
test_engine.rb
test_fips.rb
test_hmac.rb
test_kdf.rb
test_ns_spki.rb
test_ocsp.rb
test_pair.rb merge revision(s) 1e54903684: [Backport #16051] 2019-08-07 12:38:15 +00:00
test_pkcs7.rb
test_pkcs12.rb
test_pkey_dh.rb merge revision(s) 1e54903684: [Backport #16051] 2019-08-07 12:38:15 +00:00
test_pkey_dsa.rb
test_pkey_ec.rb
test_pkey_rsa.rb
test_random.rb
test_ssl.rb merge revision(s) 1e54903684: [Backport #16051] 2019-08-07 12:38:15 +00:00
test_ssl_session.rb
test_x509attr.rb
test_x509cert.rb
test_x509crl.rb
test_x509ext.rb
test_x509name.rb openssl: sync with upstream repository 2018-10-18 00:24:49 +00:00
test_x509req.rb
test_x509store.rb
ut_eof.rb
utils.rb merge revision(s) 1e54903684: [Backport #16051] 2019-08-07 12:38:15 +00:00