Project

General

Profile

Actions

Backport #4175

closed

OpenSSL::BN#prime? raises TypeError

Added by nahi (Hiroshi Nakamura) about 14 years ago. Updated over 13 years ago.


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 #1

Updated by nahi (Hiroshi Nakamura) about 14 years ago

  • Subject changed from OpenSSL::BN#prime? to OpenSSL::BN#prime? raises TypeError

=begin

=end

Actions #2

Updated by nahi (Hiroshi Nakamura) about 14 years ago

  • Status changed from Open to Closed

=begin
Fixed at r30279: http://redmine.ruby-lang.org/repositories/revision/ruby-18?rev=30279 (Sorry, I forgot to mention this ticket in the commit.)
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0