mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
TunnelDecryption for tunnels
This commit is contained in:
parent
7754968e7a
commit
0d51f240d0
3 changed files with 18 additions and 24 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue