mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Fix openssl Bug
This commit is contained in:
parent
abcc114768
commit
1b7c5758d2
@ -748,8 +748,8 @@ try
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
const String config_path = config().getString("config-file", "config.xml");
|
const String config_path = config().getString("config-file", "config.xml");
|
||||||
const auto config_dir = std::filesystem::path{config_path}.remove_filename();
|
const auto config_dir = std::filesystem::path{config_path}.replace_filename("openssl.conf");
|
||||||
setenv("OPENSSL_CONF", config_dir.string() + "openssl.conf", true);
|
setenv("OPENSSL_CONF", config_dir.string(), true);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user