Is it OK if I apply the fix?
Yes, please apply it. :)
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).
This issue was solved with changeset r32203.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
ext/openssl/ossl_ssl_session.c: Respect T_BIGNUM time values. Patch by
Tomoyuki Chikanaga.
[ Ruby 1.9 - Bug #4919 ] [ruby-dev:43869]
Is it OK if I apply the fix?
Yes, please apply it. :)
I modified it a little at r32211.
Martin, please add a test when you commit a gift patch. Thanks!
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).
Is it OK if I apply the fix?
Yes, please apply it. :)
I modified it a little at r32211.
Martin, please add a test when you commit a gift patch. Thanks!
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).
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)
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'
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!
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 :)
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)
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'
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!
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 :)
This gives me: (Ubuntu 10.04 32bit, OpenSSL 0.9.8k)
Aaaaarhg! Sorry, 2**31 is not in a signed long value. Miserable me...
Fixed at r32212.
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!
Ah, sure, I should have written more tests when I wrote a testcase.
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 :)
Indeed? I don't think fixes of today affect SSL negotiation... Please
file a new ticket when you get kind of SSL error next time. Log dump
(w/o reproducible script) is far better than nothing.
This gives me: (Ubuntu 10.04 32bit, OpenSSL 0.9.8k)
Aaaaarhg! Sorry, 2**31 is not in a signed long value. Miserable me...
Fixed at r32212.
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!
Ah, sure, I should have written more tests when I wrote a testcase.
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 :)
Indeed? I don't think fixes of today affect SSL negotiation... Please
file a new ticket when you get kind of SSL error next time. Log dump
(w/o reproducible script) is far better than nothing.
Aaaaarhg! Sorry, 2**31 is not in a signed long value. Miserable me...
Fixed at r32212.
No problem, works fine now. Happens to the best of us ;)
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 :)
Indeed? I don't think fixes of today affect SSL negotiation... Please
file a new ticket when you get kind of SSL error next time. Log dump
(w/o reproducible script) is far better than nothing.
I was finally able to reproduce it, although with a different error message this time. Cf. http://redmine.ruby-lang.org/issues/4923. I suspect it could be related to OpenSSL 1.0.0, since I could not reproduce it with 0.9.8k.