Project

General

Profile

Backport #9910

Backport r45540 to introduce OpenSSL::OPENSSL_LIBRARY_VERSION

Added by nagachika (Tomoyuki Chikanaga) about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:62964]

Description

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.

Updated by usa (Usaku NAKAMURA) almost 6 years ago

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

Applied in changeset r47627.


merge revision(s) 45540: [Backport #9910]

ossl.c: OPENSSL_LIBRARY_VERSION

* ext/openssl/ossl.c (Init_openssl): add constant OPENSSL_LIBRARY_VERSION

which tells the version running OpenSSL. [EXPERIMENTAL]

Also available in: Atom PDF