generate DH keys pair per NTCP session

This commit is contained in:
orignal 2014-04-04 13:30:13 -04:00
parent 15299aa42d
commit 7bdf52a774
6 changed files with 37 additions and 5 deletions

View file

@ -10,6 +10,7 @@
#include "SSU.h"
#include "RouterInfo.h"
#include "I2NPProtocol.h"
#include "Identity.h"
namespace i2p
{
@ -24,6 +25,7 @@ namespace i2p
void Stop ();
boost::asio::io_service& GetService () { return m_Service; };
i2p::data::DHKeysPair * GetNextDHKeysPair ();
void AddNTCPSession (i2p::ntcp::NTCPSession * session);
void RemoveNTCPSession (i2p::ntcp::NTCPSession * session);