[MacRuby-devel] [MacRuby] #215: OpenSSL's SSLSocket appears not to be initialised correctly

MacRuby ruby-noreply at macosforge.org
Wed Oct 28 20:06:33 PDT 2009


#215: OpenSSL's SSLSocket appears not to be initialised correctly
-------------------------------+--------------------------------------------
 Reporter:  celtic@…           |        Owner:  lsansonetti@…        
     Type:  defect             |       Status:  closed               
 Priority:  major              |    Milestone:  MacRuby 0.5          
Component:  MacRuby            |   Resolution:  fixed                
 Keywords:  openssl            |  
-------------------------------+--------------------------------------------
Changes (by lsansonetti@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.5


Comment:

 Looks like there was some iterations on this bug. However the IO layer
 changed a lot in 0.5, and as of r2915 it seems that the SSLSocket class is
 being "initialized" correctly (it does not crash).

 {{{
 $ macruby -r openssl -r net/http -r net/https -e "p
 OpenSSL::SSL::SSLSocket.new(nil) "
 core:in `initialize:': wrong argument type nil (expected File) (TypeError)
         from core:in `__new__:'
         from -e:1:in `<main>'
 }}}

 I was not able to find a different snippet by reading the attachments, so
 I'm closing the bug, if something doesn't work still please provide a
 proper bug reduction.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/215#comment:12>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list