Issue #9911 has been updated by Tomoyuki Chikanaga.

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

Applied in changeset r46525.

----------
merge revision(s) r45540: [Backport #9911]

	ossl.c: OPENSSL_LIBRARY_VERSION

	* ext/openssl/ossl.c (Init_openssl): add constant OPENSSL_LIBRARY_VERSION
  which tells the version running OpenSSL.  [EXPERIMENTAL]

----------------------------------------
Backport #9911: Backport r45540 to introduce OpenSSL::OPENSSL_LIBRARY_VERSION
https://bugs.ruby-lang.org/issues/9911#change-47354

* Author: Tomoyuki Chikanaga
* Status: Closed
* Priority: Normal
* Assignee: Tomoyuki Chikanaga
----------------------------------------
Let's backport r45540.
It introduces OpenSSL::OPENSSL_LIBRARY_VERSION. It's a new feature and marked as [EXPERIMENTAL].  So usually it shouldn't be backported to stable branches.
But it's convenient to check linked OpenSSL runtime version, and valuable to confirm openssl security fixes are applied.
A changeset is quite simple.



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