[MacRuby] #894: Bus error with OpenSSL::X509::Attribute.new
#894: Bus error with OpenSSL::X509::Attribute.new ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Test Script: {{{ #!ruby #$ cat test_x509.rb require "openssl" def create_ext_req(exts) ef = OpenSSL::X509::ExtensionFactory.new exts = exts.collect{|e| ef.create_extension(*e) } return OpenSSL::ASN1::Set([OpenSSL::ASN1::Sequence(exts)]) end exts = [ ["keyUsage", "Digital Signature, Key Encipherment", true], ["subjectAltName", "email:gotoyuzo@ruby-lang.org", false], ] attrval = create_ext_req(exts) attrs = [ OpenSSL::X509::Attribute.new("extReq", attrval), ] p attrs }}} Result: {{{ $ ruby test_x509.rb [#<OpenSSL::X509::Attribute:0x000001008680a8>] $ macruby test_x509.rb zsh: bus error macruby test_x509.rb }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/894> MacRuby <http://macruby.org/>
#894: Bus error with OpenSSL::X509::Attribute.new ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.7 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.7 Comment: Should be fixed in r4509. -- Ticket URL: <http://www.macruby.org/trac/ticket/894#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby