Bug #6094

[OpenSSL] wrong argument of rsa_generate()

Added by Nobuyoshi Nakada about 3 years ago. Updated about 3 years ago.

[ruby-core:42970]
Status:Closed
Priority:Normal
Assignee:Hiroshi Nakamura
ruby -v:r34833 Backport:

Description

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

openssl.diff Magnifier (1.12 KB) Nobuyoshi Nakada, 02/27/2012 05:50 PM

Associated revisions

Revision 35102
Added by Nobuyoshi Nakada about 3 years ago

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

Revision 35102
Added by Nobuyoshi Nakada about 3 years ago

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

Revision 35117
Added by Yui NARUSE about 3 years ago

Refix Bug #6094: use unsigned long integer literal.

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

Revision 35117
Added by Yui NARUSE about 3 years ago

Refix Bug #6094: use unsigned long integer literal.

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

History

#1 Updated by Shyouhei Urabe about 3 years ago

  • Status changed from Open to Assigned

#2 Updated by Nobuyoshi Nakada about 3 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]

#3 Updated by Yui NARUSE about 3 years ago

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

#4 Updated by Yui NARUSE about 3 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]

Also available in: Atom PDF