Skip to content

Commit b70817f

Browse files
committed
test/openssl/test_config: skip test_get_value_ENV on LibreSSL
LibreSSL has removed the feature to map environment variables onto the "ENV" section.
1 parent 259e6fd commit b70817f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/openssl/test_config.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ def test_get_value
215215
end
216216

217217
def test_get_value_ENV
218+
# LibreSSL removed support for NCONF_get_string(conf, "ENV", str)
219+
return if libressl?
220+
218221
key = ENV.keys.first
219222
assert_not_nil(key) # make sure we have at least one ENV var.
220223
assert_equal(ENV[key], @it.get_value('ENV', key))

0 commit comments

Comments
 (0)