mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2025-07-07 10:28:22 +00: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
|
@ -127,6 +127,7 @@ t_rpc_command_executor::t_rpc_command_executor(
|
|||
uint32_t ip
|
||||
, uint16_t port
|
||||
, const boost::optional<tools::login>& login
|
||||
, const epee::net_utils::ssl_options_t& ssl_options
|
||||
, bool is_rpc
|
||||
, cryptonote::core_rpc_server* rpc_server
|
||||
)
|
||||
|
@ -137,7 +138,7 @@ t_rpc_command_executor::t_rpc_command_executor(
|
|||
boost::optional<epee::net_utils::http::login> http_login{};
|
||||
if (login)
|
||||
http_login.emplace(login->username, login->password.password());
|
||||
m_rpc_client = new tools::t_rpc_client(ip, port, std::move(http_login));
|
||||
m_rpc_client = new tools::t_rpc_client(ip, port, std::move(http_login), ssl_options);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue