mirror of
https://github.com/monero-project/monero.git
synced 2026-08-03 09:21:35 -07:00
Add server auth to monerod, and client auth to wallet-cli and wallet-rpc
This commit is contained in:
@@ -1192,7 +1192,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
|
||||
}
|
||||
catch (const std::exception &e) { }
|
||||
|
||||
m_http_client.set_server(m_wallet->get_daemon_address());
|
||||
m_http_client.set_server(m_wallet->get_daemon_address(), m_wallet->get_daemon_login());
|
||||
m_wallet->callback(this);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include "cryptonote_core/cryptonote_basic_impl.h"
|
||||
#include "wallet/wallet2.h"
|
||||
#include "console_handler.h"
|
||||
#include "wallet/password_container.h"
|
||||
#include "common/password.h"
|
||||
#include "crypto/crypto.h" // for definition of crypto::secret_key
|
||||
|
||||
#undef MONERO_DEFAULT_LOG_CATEGORY
|
||||
|
||||
Reference in New Issue
Block a user