mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
moved transports to 'transport' namespace
This commit is contained in:
parent
165af090b6
commit
7b768ccb26
16 changed files with 73 additions and 63 deletions
6
SSU.cpp
6
SSU.cpp
|
@ -12,7 +12,7 @@
|
|||
|
||||
namespace i2p
|
||||
{
|
||||
namespace ssu
|
||||
namespace transport
|
||||
{
|
||||
|
||||
SSUSession::SSUSession (SSUServer& server, boost::asio::ip::udp::endpoint& remoteEndpoint,
|
||||
|
@ -173,7 +173,7 @@ namespace ssu
|
|||
LogPrint ("Session request received");
|
||||
m_RemoteEndpoint = senderEndpoint;
|
||||
if (!m_DHKeysPair)
|
||||
m_DHKeysPair = i2p::transports.GetNextDHKeysPair ();
|
||||
m_DHKeysPair = transports.GetNextDHKeysPair ();
|
||||
CreateAESandMacKey (buf + sizeof (SSUHeader));
|
||||
SendSessionCreated (buf + sizeof (SSUHeader));
|
||||
}
|
||||
|
@ -608,7 +608,7 @@ namespace ssu
|
|||
{
|
||||
// set connect timer
|
||||
ScheduleConnectTimer ();
|
||||
m_DHKeysPair = i2p::transports.GetNextDHKeysPair ();
|
||||
m_DHKeysPair = transports.GetNextDHKeysPair ();
|
||||
SendSessionRequest ();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue