ruby-changes:65572
From: Kazuki <ko1@a...>
Date: Tue, 16 Mar 2021 20:38:38 +0900 (JST)
Subject: [ruby-changes:65572] 7c13d2b3cc (master): [ruby/openssl] test/openssl/test_config: skip test_get_value_ENV on LibreSSL
https://git.ruby-lang.org/ruby.git/commit/?id=7c13d2b3cc From 7c13d2b3cc503790d044a6f5a34a61c50bc643c3 Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi <k@r...> Date: Sat, 22 Feb 2020 04:58:08 +0900 Subject: [ruby/openssl] test/openssl/test_config: skip test_get_value_ENV on LibreSSL LibreSSL has removed the feature to map environment variables onto the "ENV" section. https://github.com/ruby/openssl/commit/b70817faec --- test/openssl/test_config.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/openssl/test_config.rb b/test/openssl/test_config.rb index a725add..01be281 100644 --- a/test/openssl/test_config.rb +++ b/test/openssl/test_config.rb @@ -215,6 +215,9 @@ __EOC__ https://github.com/ruby/ruby/blob/trunk/test/openssl/test_config.rb#L215 end def test_get_value_ENV + # LibreSSL removed support for NCONF_get_string(conf, "ENV", str) + return if libressl? + key = ENV.keys.first assert_not_nil(key) # make sure we have at least one ENV var. assert_equal(ENV[key], @it.get_value('ENV', key)) -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/