mirror of
https://github.com/monero-project/monero.git
synced 2025-08-24 01:35:01 -04:00
Add ssl_options support to monerod's rpc mode.
This commit is contained in:
parent
c9aaccf346
commit
3544596f9f
14 changed files with 160 additions and 140 deletions
|
@ -324,7 +324,11 @@ int main(int argc, char const * argv[])
|
|||
}
|
||||
}
|
||||
|
||||
daemonize::t_command_server rpc_commands{rpc_ip, rpc_port, std::move(login)};
|
||||
auto ssl_options = cryptonote::rpc_args::process_ssl(vm, true);
|
||||
if (!ssl_options)
|
||||
return 1;
|
||||
|
||||
daemonize::t_command_server rpc_commands{rpc_ip, rpc_port, std::move(login), std::move(*ssl_options)};
|
||||
if (rpc_commands.process_command_vec(command))
|
||||
{
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue