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
usa ac6dd2fecc 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_5@67863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2020-03-30 21:37:50 +00:00
..
fixtures/pkey openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_asn1.rb merge revision(s) 203b7fa1ae8cc40d41c38d684f70b3fea7fae813,0131fab749fb76800de09e49a6abf910201c5b58,9c0cd5c569ba22bc68d1a77ad6580a275cd99639,c144d7215b3444fa36d28d540b60170a5b30743d: [Backport #16196] 2020-03-30 21:37:50 +00:00
test_bn.rb ruby.h: unnormalized Fixnum value 2017-09-07 03:24:08 +00:00
test_buffering.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_cipher.rb merge revision(s) 63406: [Backport #14754] 2018-08-18 02:39:09 +00:00
test_config.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_digest.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_engine.rb openssl: import e72d960db262 2017-09-24 16:26:22 +00:00
test_fips.rb openssl: merge test fixes from upstream 2017-09-05 09:47:59 +00:00
test_hmac.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_kdf.rb openssl: import v2.1.0.beta2 2017-11-25 14:12:08 +00:00
test_ns_spki.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_ocsp.rb openssl: import v2.1.0.beta2 2017-11-25 14:12:08 +00:00
test_pair.rb openssl: import v2.1.0.beta2 2017-11-25 14:12:08 +00:00
test_pkcs7.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_pkcs12.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_pkey_dh.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_pkey_dsa.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_pkey_ec.rb openssl: import v2.1.0 2017-12-14 11:19:16 +00:00
test_pkey_rsa.rb merge revision(s) 63406: [Backport #14754] 2018-08-18 02:39:09 +00:00
test_random.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
test_ssl.rb Import Ruby/OpenSSL 2.1.2. 2018-10-17 15:26:54 +00:00
test_ssl_session.rb Import Ruby/OpenSSL 2.1.2. 2018-10-17 15:26:54 +00:00
test_x509attr.rb openssl: import v2.1.0.beta2 2017-11-25 14:12:08 +00:00
test_x509cert.rb openssl: import v2.1.0.beta2 2017-11-25 14:12:08 +00:00
test_x509crl.rb openssl: import v2.1.0.beta2 2017-11-25 14:12:08 +00:00
test_x509ext.rb openssl: import v2.1.0.beta2 2017-11-25 14:12:08 +00:00
test_x509name.rb Import Ruby/OpenSSL 2.1.2. 2018-10-17 15:26:54 +00:00
test_x509req.rb openssl: import v2.1.0.beta2 2017-11-25 14:12:08 +00:00
test_x509store.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
ut_eof.rb openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
utils.rb openssl: suppress report_on_exception warning 2017-12-15 08:19:32 +00:00