From 9328bd1cafffa014f6d10d55eec5fe6ce763b8a3 Mon Sep 17 00:00:00 2001 From: orignal Date: Wed, 3 Dec 2014 20:06:56 -0500 Subject: [PATCH] temporary disabled tunnel test encryption due instability --- TunnelPool.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/TunnelPool.cpp b/TunnelPool.cpp index d20e4c14..fbd2d098 100644 --- a/TunnelPool.cpp +++ b/TunnelPool.cpp @@ -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++; } }