From: "Martin Boßlet" Date: 2011-06-23T19:53:55+09:00 Subject: [ruby-dev:43881] Re: [Ruby 1.9 - Bug #4919] OpenSSL::SSL::Sesssion#time= に Bignum を渡すと ArgumentError が発生する 2011/6/23 Hiroshi Nakamura : > 報告ありがとうございます。32bit環境で落ちるとか考えてませんでした。。。 > Thanks for the report. I was not aware that the code has 64bit dependency... > > On Wed, Jun 22, 2011 at 18:45, Tomoyuki Chikanaga wrote: >>>1) Is it OK if I apply the fix? >> Yes, please apply it. :) > > I modified it a little at r32211. This gives me: (Ubuntu 10.04 32bit, OpenSSL 0.9.8k) 1) Error: test_session_time(OpenSSL::TestSSLSession): RangeError: bignum too big to convert into `long' /home/martin/Projekte/Ruby/ruby-svn/ruby/test/openssl/test_ssl_session.rb:71:in `time=' /home/martin/Projekte/Ruby/ruby-svn/ruby/test/openssl/test_ssl_session.rb:71:in `test_session_time' 2) Error: test_session_timeout(OpenSSL::TestSSLSession): RangeError: bignum too big to convert into `long' /home/martin/Projekte/Ruby/ruby-svn/ruby/test/openssl/test_ssl_session.rb:84:in `timeout=' /home/martin/Projekte/Ruby/ruby-svn/ruby/test/openssl/test_ssl_session.rb:84:in `test_session_timeout' > Martin, please add a test when you commit a gift patch. Thanks! I assumed the broken test would cover the patch code - but you're right, I should add tests that specifically test new features/improvements - I'll pay more attention to that in the future! >>>2) Anyone else getting the "sslv3 alert illegal parameter"? I get it most of the time but not always... >> I can't get this error on Ubuntu 10.4 with openssl(0.9.8k-7ubuntu). > > Please file it. Just wanted to do that, but it seems it's fixed in 32211 - can't reproduce it anymore :) Regards, Martin