mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't initialize Noise state for peer test sessions
This commit is contained in:
parent
9d1e526812
commit
11bca5c3cd
2 changed files with 10 additions and 6 deletions
|
@ -239,7 +239,7 @@ namespace transport
|
|||
public:
|
||||
|
||||
SSU2Session (SSU2Server& server, std::shared_ptr<const i2p::data::RouterInfo> in_RemoteRouter = nullptr,
|
||||
std::shared_ptr<const i2p::data::RouterInfo::Address> addr = nullptr);
|
||||
std::shared_ptr<const i2p::data::RouterInfo::Address> addr = nullptr, bool noise = true);
|
||||
virtual ~SSU2Session ();
|
||||
|
||||
void SetRemoteEndpoint (const boost::asio::ip::udp::endpoint& ep) { m_RemoteEndpoint = ep; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue