[ruby-cvs:78693] d1a33d8ec5 (ruby_2_6): merge revision(s) 203b7fa1ae8cc40d41c38d684f70b3fea7fae813,0131fab749fb76800de 09e49a6abf910201c5b58,9c0cd5c569ba22bc68d1a77ad6580a275cd9963 9,c144d7215b3444fa36d28d540b60170a5b30743d: [Backport # 16196]

"nagachika" <[email protected]>
Newsgroups gmane.comp.lang.ruby.cvs
Message-ID <[email protected]>
nagachika	2019-12-15 17:12:17 +0900 (Sun, 15 Dec 2019)

  New Revision: d1a33d8ec5

  https://github.com/ruby/ruby/commit/d1a33d8ec5

  Log:
    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

  Modified files:
    ext/openssl/ossl_asn1.c
    test/openssl/test_asn1.rb
    version.h
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.