Backport #9065

backport r41808(openssl build issue on fedora)

Added by Hiroshi SHIBATA almost 2 years ago. Updated almost 2 years ago.

[ruby-dev:47780]
Status:Closed
Priority:Normal
Assignee:Tomoyuki Chikanaga

Description

2.0.0 が Fedora でビルド出来ないようなので r41808 のバックポートをお願いします。

https://github.com/sstephenson/ruby-build/issues/443

Associated revisions

Revision 43481
Added by Tomoyuki Chikanaga almost 2 years ago

merge revision(s) 41808,41829: [Backport #8384] [Backport #9065]

* ext/openssl/ossl_pkey_ec.c: Ensure compatibility to builds of
  OpenSSL with OPENSSL_NO_EC2M defined, but OPENSSL_NO_EC not
  defined.

* test/openssl/test_pkey_ec.rb: Iterate over built-in curves
  (and assert their non-emptiness!) instead of hard-coding them, as
  this may cause problems with respect to the different availability
  of individual curves in individual OpenSSL builds.
   [Bug #8384]
  Thanks to Vit Ondruch for providing the patch!

* test/openssl/test_pkey_ec.rb: Skip tests for "Oakley" curves as
  they are not suitable for ECDSA.
   [Bug #8384]

History

#1 Updated by Tomoyuki Chikanaga almost 2 years ago

  • Status changed from Open to Assigned

#2 Updated by Tomoyuki Chikanaga almost 2 years ago

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

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


merge revision(s) 41808,41829: [Backport #8384] [Backport #9065]

* ext/openssl/ossl_pkey_ec.c: Ensure compatibility to builds of
  OpenSSL with OPENSSL_NO_EC2M defined, but OPENSSL_NO_EC not
  defined.

* test/openssl/test_pkey_ec.rb: Iterate over built-in curves
  (and assert their non-emptiness!) instead of hard-coding them, as
  this may cause problems with respect to the different availability
  of individual curves in individual OpenSSL builds.
   [Bug #8384]
  Thanks to Vit Ondruch for providing the patch!

* test/openssl/test_pkey_ec.rb: Skip tests for "Oakley" curves as
  they are not suitable for ECDSA.
   [Bug #8384]

Also available in: Atom PDF