This project is closed and read-only.
Backport #7851 ยป r36666_backport.patch
| test/openssl/test_config.rb | ||
|---|---|---|
|
def test_constants
|
||
|
assert(defined?(OpenSSL::Config::DEFAULT_CONFIG_FILE))
|
||
|
config_file = OpenSSL::Config::DEFAULT_CONFIG_FILE
|
||
|
skip "DEFAULT_CONFIG_FILE may return a wrong path on your platforms. [Bug #6830]" unless File.readable?(config_file)
|
||
|
assert_nothing_raised do
|
||
|
OpenSSL::Config.load(OpenSSL::Config::DEFAULT_CONFIG_FILE)
|
||
|
OpenSSL::Config.load(config_file)
|
||
|
end
|
||
|
end
|
||