moved DHKeysPair to Transport

This commit is contained in:
orignal 2014-10-20 15:19:56 -04:00
parent 8e8eb3b588
commit a8871d9f98
6 changed files with 41 additions and 40 deletions

4
SSU.h
View file

@ -17,6 +17,8 @@
namespace i2p
{
class DHKeysPair;
namespace ssu
{
#pragma pack(1)
@ -131,7 +133,7 @@ namespace ssu
const i2p::data::RouterInfo * m_RemoteRouter;
i2p::data::IdentHash m_RemoteIdent; // if m_RemoteRouter is null
boost::asio::deadline_timer m_Timer;
i2p::data::DHKeysPair * m_DHKeysPair; // X - for client and Y - for server
DHKeysPair * m_DHKeysPair; // X - for client and Y - for server
bool m_PeerTest;
SessionState m_State;
bool m_IsSessionKey;