Project

General

Profile

Backport #4175

OpenSSL::BN#prime? raises TypeError

Added by nahi (Hiroshi Nakamura) about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:33783]

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

History

#1

Updated by nahi (Hiroshi Nakamura) about 8 years ago

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

=begin

=end

#2

Updated by nahi (Hiroshi Nakamura) about 8 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

Also available in: Atom PDF