Fix setenv string call

This commit is contained in:
bkuschel 2023-02-23 09:42:06 -05:00 committed by Boris Kuschel
parent c74296e399
commit 77607ba0d4

View File

@ -696,7 +696,7 @@ try
{
const String config_path = config().getString("config-file", "config.xml");
const auto config_dir = std::filesystem::path{config_path}.replace_filename("openssl.conf");
setenv("OPENSSL_CONF", config_dir.string(), true);
setenv("OPENSSL_CONF", config_dir.c_str(), true);
}
#endif