mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 15:32:24 +00:00
Fix monerod --rpc-ssl disabled
This commit is contained in:
parent
5b8d714a4b
commit
2a20434705
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ namespace cryptonote
|
|||
if (m_rpc_payment)
|
||||
m_net_server.add_idle_handler([this](){ return m_rpc_payment->on_idle(); }, 60 * 1000);
|
||||
|
||||
bool store_ssl_key = !restricted && rpc_config->ssl_options.auth.certificate_path.empty();
|
||||
bool store_ssl_key = !restricted && rpc_config->ssl_options && rpc_config->ssl_options.auth.certificate_path.empty();
|
||||
const auto ssl_base_path = (boost::filesystem::path{data_dir} / "rpc_ssl").string();
|
||||
if (store_ssl_key && boost::filesystem::exists(ssl_base_path + ".crt"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue