Issue #9612 has been updated by Koichi Sasada.

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

Applied in changeset r45944.

----------
* ext/openssl/depend: remove dependency from internal headers.
  [Feature #9612]
* ext/openssl/ossl.c (ossl_fips_mode_set): ditto.
* ext/coverage/depend: ditto.
* include/ruby/thread_native.h: added.
  This header file only provides wrapper functions to control
  native threads. These wrapper functions are used by MRI
  implementation.
* vm_core.h: use include/ruby/thread_native.h.
* thread.c: ditto.
* thread_pthread.h: ditto.
* thread_win32.h: ditto.
* thread_native.h: removed.

----------------------------------------
Feature #9612: Gemify OpenSSL
https://bugs.ruby-lang.org/issues/9612#change-46728

* Author: Zachary Scott
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: ext/openssl
* Target version: current: 2.2.0
----------------------------------------
Previously in #9439 we discussed removing OpenSSL from Ruby, however this wasn't the right approach.

I would like to suggest Aaron's approach from [ruby-core:60075](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/60075)

You can see his patch here: https://github.com/tenderlove/ruby/commit/fd96a5b

As [ruby-core:60063](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/60063) states, we will need to modify the visibility of thread_native.h as seen here: https://github.com/ruby/ruby/blob/8cacc6459/ext/openssl/ossl.c#L469-L480



-- 
https://bugs.ruby-lang.org/