[MacRuby] #891: Bus error with OpenSSL::Netscape::SPKI.to_der.
MacRuby
ruby-noreply at macosforge.org
Fri Sep 10 03:19:47 PDT 2010
#891: Bus error with OpenSSL::Netscape::SPKI.to_der.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
----------------------------------+-----------------------------------------
Test Script:
{{{
#!ruby
#$ cat test_spki.rb
require "openssl"
spki = OpenSSL::Netscape::SPKI.new
p spki
p spki.to_der
}}}
Result:
{{{
$ ruby -v test_spki.rb
ruby 1.9.1p429 (2010-07-02 revision 28523) [i386-darwin10]
MBYwDDAIMAMGAQADAQAWADADBgEAAwEA
"0\x160\f0\b0\x03\x06\x01\x00\x03\x01\x00\x16\x000\x03\x06\x01\x00\x03\x01\x00"
$ macruby -v test_spki.rb
MacRuby 0.7 (ruby 1.9.2) [universal-darwin10.0, x86_64]
MBYwDDAIMAMGAQADAQAWADADBgEAAwEA
zsh: bus error macruby -v test_spki.rb
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/891>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list