diff options
author | Lee Clagett <code@leeclagett.com> | 2019-05-22 00:09:11 -0400 |
---|---|---|
committer | Lee Clagett <code@leeclagett.com> | 2019-05-22 00:09:11 -0400 |
commit | 3544596f9fd0a260c3a1a9b75432234f93f78cb7 (patch) | |
tree | 1e961af0bae06e17e45b80b23352d836944ba3a4 /src/daemon/daemon.cpp | |
parent | Fix configuration bug; wallet2 --daemon-ssl-allow-any-cert now works. (diff) | |
download | monero-3544596f9fd0a260c3a1a9b75432234f93f78cb7.tar.xz |
Add ssl_options support to monerod's rpc mode.
Diffstat (limited to '')
-rw-r--r-- | src/daemon/daemon.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp index 531c080de..5084b6283 100644 --- a/src/daemon/daemon.cpp +++ b/src/daemon/daemon.cpp @@ -45,6 +45,7 @@ #include "daemon/command_server.h" #include "daemon/command_server.h" #include "daemon/command_line_args.h" +#include "net/net_ssl.h" #include "version.h" using namespace epee; @@ -163,7 +164,7 @@ bool t_daemon::run(bool interactive) if (interactive && mp_internals->rpcs.size()) { // The first three variables are not used when the fourth is false - rpc_commands.reset(new daemonize::t_command_server(0, 0, boost::none, false, mp_internals->rpcs.front()->get_server())); + rpc_commands.reset(new daemonize::t_command_server(0, 0, boost::none, epee::net_utils::ssl_support_t::e_ssl_support_disabled, false, mp_internals->rpcs.front()->get_server())); rpc_commands->start_handling(std::bind(&daemonize::t_daemon::stop_p2p, this)); } |