mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
different in and out buffers for tunnel encryption
This commit is contained in:
parent
9c9401ce2f
commit
1fc50a59f5
4 changed files with 28 additions and 26 deletions
|
@ -22,7 +22,7 @@ namespace tunnel
|
|||
|
||||
void TransitTunnel::EncryptTunnelMsg (std::shared_ptr<I2NPMessage> tunnelMsg)
|
||||
{
|
||||
m_Encryption.Encrypt (tunnelMsg->GetPayload () + 4);
|
||||
m_Encryption.Encrypt (tunnelMsg->GetPayload () + 4, tunnelMsg->GetPayload () + 4);
|
||||
}
|
||||
|
||||
TransitTunnelParticipant::~TransitTunnelParticipant ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue