Updated the OpenSSL::OPENSSL_VERSION_NUMBER comment explaining the format.
Added the OpenSSL::LIBRESSL_VERSION_NUMBER to print LibreSSL version number,
in the case that Ruby OpenSSL binding is compiled with LibreSSL. Note test/openssl/utils.rb#libressl? is not using this value in it for now.
Update rake debug to print the values in a readable way, adding OpenSSL::OPENSSL_VERSION_NUMBER and OpenSSL::LIBRESSL_VERSION_NUMBER.
[ruby/openssl] Enhance printing OpenSSL versions.
OpenSSL::OPENSSL_VERSION_NUMBER
comment explaining the format.OpenSSL::LIBRESSL_VERSION_NUMBER
to print LibreSSL version number,in the case that Ruby OpenSSL binding is compiled with LibreSSL. Note
test/openssl/utils.rb#libressl?
is not using this value in it for now.rake debug
to print the values in a readable way, addingOpenSSL::OPENSSL_VERSION_NUMBER
andOpenSSL::LIBRESSL_VERSION_NUMBER
.https://github.com/ruby/openssl/commit/d19e6360ed