mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't save received IV
This commit is contained in:
parent
f3c6dd4d3d
commit
6dbf8d1457
3 changed files with 8 additions and 28 deletions
4
SSU.cpp
4
SSU.cpp
|
@ -87,10 +87,6 @@ namespace ssu
|
|||
{
|
||||
if (m_State == eSessionStateEstablished)
|
||||
ScheduleTermination ();
|
||||
/* // check for duplicate
|
||||
const uint8_t * iv = ((SSUHeader *)buf)->iv;
|
||||
if (m_ReceivedIVs.count (iv)) return; // duplicate detected
|
||||
m_ReceivedIVs.insert (iv);*/
|
||||
|
||||
if (m_IsSessionKey && Validate (buf, len, m_MacKey)) // try session key first
|
||||
DecryptSessionKey (buf, len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue