Project

General

Profile

Actions

Bug #6094

closed

[OpenSSL] wrong argument of rsa_generate()

Added by nobu (Nobuyoshi Nakada) about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
r34833
Backport:
[ruby-core:42970]

Description

=begin
Seems the type of second argument of ((%ext/openssl/ossl_pkey_rsa.c%)):(({rsa_generate()})) should be (({unsigned long})), not (({int})).
=end


Files

openssl.diff (1.12 KB) openssl.diff nobu (Nobuyoshi Nakada), 02/27/2012 05:50 PM
Actions #1

Updated by shyouhei (Shyouhei Urabe) about 10 years ago

  • Status changed from Open to Assigned
Actions #2

Updated by nobu (Nobuyoshi Nakada) about 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r35102.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • ext/openssl/ossl_pkey_rsa.c (rsa_generate): fix argument type.
    [Bug #6094]

Updated by naruse (Yui NARUSE) about 10 years ago

  • Status changed from Closed to Open
  • % Done changed from 100 to 0
Actions #4

Updated by naruse (Yui NARUSE) about 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r35117.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


Refix Bug #6094: use unsigned long integer literal.

  • ext/openssl/ossl_pkey_rsa.c (rsa_generate): fix argument type.
    [Bug #6094]
Actions

Also available in: Atom PDF