mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 09:56:35 +02:00
temporary disabled tunnel test encryption due instability
This commit is contained in:
parent
b2a6b6657f
commit
9328bd1caf
1 changed files with 1 additions and 7 deletions
|
@ -208,16 +208,10 @@ namespace tunnel
|
|||
}
|
||||
if (!failed)
|
||||
{
|
||||
uint8_t key[32], tag[32];
|
||||
rnd.GenerateBlock (key, 32); // random session key
|
||||
rnd.GenerateBlock (tag, 32); // random session tag
|
||||
m_LocalDestination.AddSessionKey (key, tag);
|
||||
i2p::garlic::GarlicRoutingSession garlic (key, tag);
|
||||
|
||||
uint32_t msgID = rnd.GenerateWord32 ();
|
||||
m_Tests[msgID] = std::make_pair (*it1, *it2);
|
||||
(*it1)->SendTunnelDataMsg ((*it2)->GetNextIdentHash (), (*it2)->GetNextTunnelID (),
|
||||
garlic.WrapSingleMessage (CreateDeliveryStatusMsg (msgID)));
|
||||
CreateDeliveryStatusMsg (msgID));
|
||||
it1++; it2++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue