Actions
Backport #4175
closedOpenSSL::BN#prime? raises TypeError
Status:
Closed
Assignee:
Description
=begin
Original: http://redmine.ruby-lang.org/issues/show/3816
irb(main):001:0> require'openssl'=> trueirb(main):002:0> OpenSSL::BN.new("461166461445805738999").prime?
TypeError: no implicit conversion from nil to integer
from (irb):2:in prime?' from (irb):2 from /home/naruse/local/ruby_1_9_2/bin/irb:12:in
'
=end
Actions
Like0
Like0Like0