TunnelDecryption for tunnels

This commit is contained in:
orignal 2014-05-15 18:58:26 -04:00
parent 7754968e7a
commit 0d51f240d0
3 changed files with 18 additions and 24 deletions

View file

@ -23,8 +23,7 @@ namespace tunnel
bool isGateway, isEndpoint;
TunnelHopConfig * next, * prev;
i2p::crypto::CBCDecryption decryption;
i2p::crypto::ECBDecryption ivDecryption;
i2p::crypto::TunnelDecryption decryption;
TunnelHopConfig (const i2p::data::RouterInfo * r)
{
@ -41,8 +40,6 @@ namespace tunnel
next = 0;
prev = 0;
decryption.SetKey (replyKey);
decryption.SetIV (replyIV);
}
void SetNextRouter (const i2p::data::RouterInfo * r)